[PATCH 2/3] Do not distribute exsltconfig.h

Thierry Reding <[email protected]> Wed, 12 Sep 2012 11:58:15 +0200
Newsgroups gmane.comp.gnome.lib.xslt
Message-ID <1347443896-31562-2-git-send-email-thierry.reding@avionic-design.de>
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 <[email protected]>
---
 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			\
-- 
1.7.12