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

Roumen Petrov <[email protected]> Sun, 16 Sep 2012 19:01:27 +0300
Newsgroups gmane.comp.gnome.lib.xslt
Message-ID <[email protected]>
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 ?

Roumen