summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Makefile.am1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 1ef732b2e..e0559940a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-01-29 Jim Meyering <meyering@redhat.com>
+
+ * Makefile.am (BUILT_SOURCES): Ensure that .version exists.
+ Reported by Bob Proulx.
+
2008-01-29 Bob Proulx <bob@proulx.com>
Improve the man pages of --date=STRING for 'date' and 'touch'.
diff --git a/Makefile.am b/Makefile.am
index 9965f3995..79b50892d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -66,6 +66,7 @@ check-root:
rm_subst = \
s!(rm -f (rm\b|\$$\(bin_PROGRAMS\)$$))!$$1 > /dev/null 2>&1 || /bin/$$1!
+BUILT_SOURCES = .version
.version:
echo $(VERSION) > $@-t && mv $@-t $@