git-version-gen: document that EXTRA_DIST must include .version
authorIain Nicol <iain@iainnicol.com>
Sun, 31 Jul 2011 12:30:59 +0000 (13:30 +0100)
committerJim Meyering <meyering@redhat.com>
Mon, 1 Aug 2011 20:55:44 +0000 (22:55 +0200)
* build-aux/git-version-gen: In the how-to-use comment, document
that EXTRA_DIST must include .version.  Otherwise, "make distcheck"
will fail when run from an unpacked distribution tarball.

ChangeLog
build-aux/git-version-gen

index f86a0fa..6bcf68a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-07-31  Iain Nicol  <iain@thenicols.net>
+
+       git-version-gen: document that EXTRA_DIST must include .version
+       * build-aux/git-version-gen: In the how-to-use comment, document
+       that EXTRA_DIST must include .version.  Otherwise, "make distcheck"
+       will fail when run from an unpacked distribution tarball.
+
 2011-08-01  Bruno Haible  <bruno@clisp.org>
 
        wctype-h: Fix last change.
index 686f703..6d71446 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 # Print a version string.
-scriptversion=2011-02-19.19; # UTC
+scriptversion=2011-07-31.12; # UTC
 
 # Copyright (C) 2007-2011 Free Software Foundation, Inc.
 #
@@ -57,9 +57,10 @@ scriptversion=2011-02-19.19; # UTC
 #         [bug-project@example])
 #
 # Then use the following lines in your Makefile.am, so that .version
-# will be present for dependencies, and so that .tarball-version will
-# exist in distribution tarballs.
+# will be present for dependencies, and so that .version and
+# .tarball-version will exist in distribution tarballs.
 #
+# EXTRA_DIST = $(top_srcdir)/.version
 # BUILT_SOURCES = $(top_srcdir)/.version
 # $(top_srcdir)/.version:
 #      echo $(VERSION) > $@-t && mv $@-t $@