* Makefile.am (BUILT_SOURCES): Ensure that .version exists.
authorJim Meyering <meyering@redhat.com>
Tue, 29 Jan 2008 16:19:29 +0000 (17:19 +0100)
committerJim Meyering <meyering@redhat.com>
Tue, 29 Jan 2008 16:19:29 +0000 (17:19 +0100)
Reported by Bob Proulx.

ChangeLog
Makefile.am

index 1ef732b..e055994 100644 (file)
--- 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'.
index 9965f39..79b5089 100644 (file)
@@ -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 $@