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

Jonathon Jongsma jjongsma at redhat.com
Fri Oct 9 12:59:49 PDT 2015


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... ; \




More information about the Spice-devel mailing list