On Sun, Sep 16, 2012 at 07:01:27PM +0300, Roumen Petrov wrote: > Thierry Reding wrote: > >This fixes a problem when building out of tree. If exsltconfig.h is > >shipped in the tarball, the shipped version will be used instead of > >the version generated in the build tree because the source tree > >appears earlier in the include path. > > > >Signed-off-by: Thierry Reding <thierry reding avionic-design de> > >--- > > libexslt/Makefile.am | 4 +++- > > 1 file changed, 3 insertions(+), 1 deletion(-) > > > >diff --git a/libexslt/Makefile.am b/libexslt/Makefile.am > >index d0a7f92..d2566be 100644 > >--- a/libexslt/Makefile.am > >+++ b/libexslt/Makefile.am > >@@ -10,9 +10,11 @@ exsltincdir = $(includedir)/libexslt > > exsltinc_HEADERS = \ > > exslt.h \ > >- exsltconfig.h \ > > exsltexports.h > >+nodist_exsltinc_HEADERS = \ > >+ exsltconfig.h > >+ > > libexslt_la_SOURCES = \ > > exslt.c \ > > common.c \ > > Why to list then ? Because the file needs to be installed. It just shouldn't be distributed because it is generated at build time. Thierry
Attachment:
pgpx5Qt5p57cb.pgp
Description: PGP signature