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

Thierry Reding <[email protected]> Sun, 16 Sep 2012 20:49:50 +0200
Newsgroups gmane.comp.gnome.lib.xslt
Message-ID <[email protected]>
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 <[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			\
> 
> 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

_______________________________________________
xslt mailing list, project page http://xmlsoft.org/XSLT/
[email protected]
https://mail.gnome.org/mailman/listinfo/xslt
signature.asc (application/pgp-signature, 836 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)

iQIcBAEBAgAGBQJQVh9OAAoJEN0jrNd/PrOhZ50QAMB3MYl024SfBqYyHHyPkxfK
TANeRTJG4pxsXlramospYVap5jDrLC5s5x1B8ZFvXgKQ6QuY/VeJZVz0z4MScApW
JP2SLPu83/W7Pl7UhhuHdNU159fGUzLELGho9BU+PkLDP9X1Ut98EVPrJSmjcjZu
EFfKVlHL0q0Z8O8WJONEGuka2rIxGhXRrwfjO7/pFcocCXksrtFMn2jSMB/J2uLj
tb6uAEQH860+CtiX7SmZokBUhWZuNwfIrazvoFhaknXrwKS6yAtYSK2g3fuPpgh5
jiHOtehU3oZSNDxtQQA8LOw4cCkMd81IbtkRaPaJd8jLxoDhf2/QOlhHrITR5MIa
DGZyAmZvAucYi51LCo55WQ9NZG+75estRN5hMEXcD5XwvQD6ezL++p8n/RVAfk5M
ZkQXQmgy6+rZdHa91ZpX89/KNBXBYIAQFqq+fvoQ9U0SAcrrYcdhAN7fsHW011Wf
LFzMnTANY2qhKuKell1FfqjfxFBOL3NYsoNupF8ojBD9d4xJX6t+fqDcDjIBQaQM
ur9exD3h1ilWyqiqtS0kQkHz2Jvx7X+h+Yxfckp8KPmfaImBi+hDv96y1Se4eaz8
kdSiMN/2GRJVl/qlFhBOsHwzWwOovRfovfD0zw3Lcqz5sGHE5AX4xw0XlTD6k5rk
hSkE34H957Y8g59Wtp9N
=NKHQ
-----END PGP SIGNATURE-----