From c596dce2525adef145e3ec2e1d3c89dc044ac8e8 Mon Sep 17 00:00:00 2001 From: Iain Nicol Date: Sun, 31 Jul 2011 13:30:59 +0100 Subject: [PATCH] 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. --- ChangeLog | 7 +++++++ build-aux/git-version-gen | 7 ++++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index f86a0fa70..6bcf68a90 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2011-07-31 Iain Nicol + + 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 wctype-h: Fix last change. diff --git a/build-aux/git-version-gen b/build-aux/git-version-gen index 686f7031a..6d7144665 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-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 $@ -- 2.11.0