mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 11:40:18 +02:00
[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.
This commit is contained in:
parent
c399333044
commit
a6025413eb
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue