Re: [cacard] build-sys: Add git-version-gen to EXTRA_DIST

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ACK


On Fri, 2015-10-09 at 19:31 +0200, Christophe Fergeau wrote:
> Without it, running autoreconf -fi from a tarball is going to spew a lot
> of warnings about this missing file, and afterwards, ./configure will
> generate version-less .pc files.
> ---
>  Makefile.am | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
> 
> diff --git a/Makefile.am b/Makefile.am
> index b29f56b..8c33d7e 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -102,7 +102,11 @@ $(top_srcdir)/.version:
>  	echo $(VERSION) > $@-t && mv $@-t $@
>  
>  BUILT_SOURCES += $(top_srcdir)/.version
> -EXTRA_DIST += $(top_srcdir)/.version
> +EXTRA_DIST +=				\
> +	$(top_srcdir)/.version		\
> +	build-aux/git-version-gen	\
> +	$(NULL)
> +
>  gen-ChangeLog:
>  	@if test -d "$(srcdir)/.git"; then \
>  	  echo Generating ChangeLog... ; \


_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]