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

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

Reply via email to