From: Jim Meyering Date: Tue, 29 Jan 2008 16:19:29 +0000 (+0100) Subject: * Makefile.am (BUILT_SOURCES): Ensure that .version exists. X-Git-Tag: v6.11~182 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b0d3d97a0fd92166ba1224301183abeceb411495;p=thirdparty%2Fcoreutils.git * Makefile.am (BUILT_SOURCES): Ensure that .version exists. Reported by Bob Proulx. --- diff --git a/ChangeLog b/ChangeLog index 1ef732b2e2..e0559940a3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-01-29 Jim Meyering + + * Makefile.am (BUILT_SOURCES): Ensure that .version exists. + Reported by Bob Proulx. + 2008-01-29 Bob Proulx Improve the man pages of --date=STRING for 'date' and 'touch'. diff --git a/Makefile.am b/Makefile.am index 9965f39950..79b50892db 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 $@