summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2011-08-01 10:09:25 +0200
committerJim Meyering <meyering@redhat.com>2011-08-11 13:13:22 +0200
commit2231959c1834ca2b6fd24495757703596021e319 (patch)
treef57c356f98fe8d9aaa5d6875944a17172ada73e8
parentb083f881f1f3cf04498ee7f721b890246148002b (diff)
downloadpatch-2231959c1834ca2b6fd24495757703596021e319.tar.gz
build: include .version in tarball to avoid distcheck failure
* Makefile.am (EXTRA_DIST): Append .version, to avoid "make distcheck" failure when run from an unpacked tarball. Reported by Iain Nicol.
-rw-r--r--Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 87854a9..311b4b8 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -36,6 +36,7 @@ else
GNU_SERVER = ftp.gnu.org
endif
+EXTRA_DIST += $(top_srcdir)/.version
BUILT_SOURCES = $(top_srcdir)/.version
$(top_srcdir)/.version:
echo $(VERSION) > $@-t && mv $@-t $@