[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 04/14: build: Honor $SOURCE_DATE_EPOCH for the recorded
From: |
Andy Wingo |
Subject: |
[Guile-commits] 04/14: build: Honor $SOURCE_DATE_EPOCH for the recorded timestamp. |
Date: |
Wed, 1 Mar 2017 15:21:04 -0500 (EST) |
wingo pushed a commit to branch master
in repository guile.
commit 817a07120925c55d754a4fc8f50b95e1d216d4c7
Author: Ludovic Courtès <address@hidden>
Date: Wed Dec 14 17:20:00 2016 +0100
build: Honor $SOURCE_DATE_EPOCH for the recorded timestamp.
Reported by Jan Nieuwenhuizen <address@hidden>
at <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=20272#36>.
* libguile/Makefile.am (libpath.h): Honor 'SOURCE_DATE_EPOCH'.
---
libguile/Makefile.am | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/libguile/Makefile.am b/libguile/Makefile.am
index fa60220..0746606 100644
--- a/libguile/Makefile.am
+++ b/libguile/Makefile.am
@@ -740,7 +740,8 @@ 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 -u +'%Y-%m-%d %T'`'" }, \' >>
libpath.tmp
+ @BUILD_DATE="$${SOURCE_DATE_EPOCH:-`date '+%s'`}" ; \
+ echo ' { "buildstamp", "'`date -u +'%Y-%m-%d %T' -d
@$$BUILD_DATE`'" }, \' >> libpath.tmp
@echo '}' >> libpath.tmp
$(AM_V_GEN)mv libpath.tmp libpath.h
- [Guile-commits] branch master updated (33944f6 -> 1026a76), Andy Wingo, 2017/03/01
- [Guile-commits] 01/14: build: Check for /gnu/store file names upon "make dist"., Andy Wingo, 2017/03/01
- [Guile-commits] 11/14: tests: Choose a more plausible US English locale name., Andy Wingo, 2017/03/01
- [Guile-commits] 07/14: doc: Fix typo in site packages documentation., Andy Wingo, 2017/03/01
- [Guile-commits] 09/14: i18n: Do not represent zero as "-0"., Andy Wingo, 2017/03/01
- [Guile-commits] 05/14: tests: Avoid statprof test failure on systems without 'setitimer'., Andy Wingo, 2017/03/01
- [Guile-commits] 04/14: build: Honor $SOURCE_DATE_EPOCH for the recorded timestamp.,
Andy Wingo <=
- [Guile-commits] 06/14: doc: Fix typo in keywords documentation., Andy Wingo, 2017/03/01
- [Guile-commits] 10/14: tests: Use 'pass-if-equal' for (ice-9 i18n) tests., Andy Wingo, 2017/03/01
- [Guile-commits] 13/14: i18n: 'number->locale-string' guesses the minimum number of decimals., Andy Wingo, 2017/03/01
- [Guile-commits] 12/14: i18n: Fix corner cases for monetary and number string conversions., Andy Wingo, 2017/03/01
- [Guile-commits] 02/14: build: Compress with lzip too., Andy Wingo, 2017/03/01
- [Guile-commits] 03/14: scandir: Avoid 'stat' calls on each entry., Andy Wingo, 2017/03/01
- [Guile-commits] 08/14: Recognize sh3 as compilation targets, Andy Wingo, 2017/03/01
- [Guile-commits] 14/14: doc: Describe -e (module) on equal footing with (@ ...)., Andy Wingo, 2017/03/01