diff options
author | Thien-Thi Nguyen <ttn@gnuvola.org> | 2010-06-16 01:01:05 +0200 |
---|---|---|
committer | Thien-Thi Nguyen <ttn@gnuvola.org> | 2010-06-18 19:49:02 +0200 |
commit | a6025413eb8aa5d7b38a8c2423909c468484c3cf (patch) | |
tree | 8640666d08eb1da684680ffa8699a6123fcdb505 | |
parent | c399333044640cc2919aa535784cfa3a26901b95 (diff) | |
download | guile-a6025413eb8aa5d7b38a8c2423909c468484c3cf.tar.gz |
[build] Use UTC, precise format for ‘buildstamp’ value.
* libguile/Makefile.am (libpath.h): For ‘buildstamp’,
specify date(1) output format precisely, and in UTC.
* doc/ref/api-options.texi (Build Config): Update ‘buildstamp’ doc.
-rw-r--r-- | doc/ref/api-options.texi | 2 | ||||
-rw-r--r-- | libguile/Makefile.am | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/ref/api-options.texi b/doc/ref/api-options.texi index b44bb1803..3d54a28fd 100644 --- a/doc/ref/api-options.texi +++ b/doc/ref/api-options.texi @@ -176,7 +176,7 @@ by @code{(version)}. The value for @code{libguileinterface} is libtool compatible and has form CURRENT:REVISION:AGE (@pxref{Versioning,, Library interface versions, libtool, GNU Libtool}). The value for @code{buildstamp} is the output of the -date(1) command. +command @samp{date -u +'%Y-%m-%d %T'} (UTC). In the source, @code{%guile-build-info} is initialized from libguile/libpath.h, which is completely generated, so deleting this file diff --git a/libguile/Makefile.am b/libguile/Makefile.am index 9020a6d7e..5eea8dc71 100644 --- a/libguile/Makefile.am +++ b/libguile/Makefile.am @@ -652,7 +652,7 @@ libpath.h: $(srcdir)/Makefile.in $(top_builddir)/config.status >> libpath.tmp @echo ' { "LIBS", "@GUILE_LIBS@" }, \' >> libpath.tmp @echo ' { "CFLAGS", "@GUILE_CFLAGS@" }, \' >> libpath.tmp - @echo ' { "buildstamp", "'"`date`"'" }, \' >> libpath.tmp + @echo ' { "buildstamp", "'`date -u +'%Y-%m-%d %T'`'" }, \' >> libpath.tmp @echo '}' >> libpath.tmp $(AM_V_GEN)mv libpath.tmp libpath.h |