Here is another approach, given that git-version-gen already includes
some instructions for things to put in Makefile.am.

But maybe there is a better approach, so let's see if we can figure out
what makes coreutils include the script in the tarball...

/Simon

diff --git a/build-aux/git-version-gen b/build-aux/git-version-gen
index 686f703..062178a 100755
--- a/build-aux/git-version-gen
+++ b/build-aux/git-version-gen
@@ -1,6 +1,6 @@
 #!/bin/sh
 # Print a version string.
-scriptversion=2011-02-19.19; # UTC
+scriptversion=2011-05-01.08; # UTC
 
 # Copyright (C) 2007-2011 Free Software Foundation, Inc.
 #
@@ -60,6 +60,7 @@ scriptversion=2011-02-19.19; # UTC
 # will be present for dependencies, and so that .tarball-version will
 # exist in distribution tarballs.
 #
+# EXTRA_DIST += $(top_srcdir)/build-aux/git-version-gen
 # BUILT_SOURCES = $(top_srcdir)/.version
 # $(top_srcdir)/.version:
 #      echo $(VERSION) > $@-t && mv $@-t $@

Reply via email to