]> granicus.if.org Git - graphviz/commitdiff
commit change for VERSION_DATE
authorellson <devnull@localhost>
Sun, 19 Oct 2008 12:12:32 +0000 (12:12 +0000)
committerellson <devnull@localhost>
Sun, 19 Oct 2008 12:12:32 +0000 (12:12 +0000)
configure.ac

index 2f67303cee7f060b388bd248a8f32386e827ac14..ed1ce710092f2cf3ec63818cf93debf67602a723 100644 (file)
@@ -24,6 +24,9 @@ AC_SUBST(GRAPHVIZ_VERSION_MAJOR)
 AC_SUBST(GRAPHVIZ_VERSION_MINOR)
 AC_SUBST(GRAPHVIZ_VERSION_MICRO)
 
+VERSION_DATE=`date -u +%Y%m%d.%H%M`
+AC_SUBST(VERSION_DATE)
+
 #NB: "development" on the next line gets changed to "stable" when building a release
 GRAPHVIZ_COLLECTION=development
 
@@ -190,7 +193,7 @@ AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
 AM_CONFIG_HEADER(config.h)
 
 # put BUILDDATE in its own file so that only targets that use it get rebuilt
-echo "#define BUILDDATE \"`date -u '+%a %b %d %T %Z %Y'`\"" > builddate.h
+echo "#define BUILDDATE \"$VERSION_DATE\"" > builddate.h
 
 # only update ast_common.h (for GNU builds) from master if changed
 if ! `cmp -s $srcdir/ast_common.h.in ast_common.h`; then