projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a43c9e
)
version.c: Make the build date/time independent of locale and timezone
author
John Darrington
<john@darrington.wattle.id.au>
Sun, 19 May 2013 09:40:02 +0000
(11:40 +0200)
committer
John Darrington
<john@darrington.wattle.id.au>
Sun, 19 May 2013 09:40:02 +0000
(11:40 +0200)
src/libpspp/automake.mk
patch
|
blob
|
history
diff --git
a/src/libpspp/automake.mk
b/src/libpspp/automake.mk
index 77e34860ec7b5534c0f2bf6c050af59b614fedd1..3f29e6d584017f27c74ddb47b7c51c439fab19d7 100644
(file)
--- a/
src/libpspp/automake.mk
+++ b/
src/libpspp/automake.mk
@@
-121,7
+121,7
@@
src/libpspp/version.c: $(top_srcdir)/AUTHORS Makefile
echo "const char bare_version[] = \"$(VERSION)\";" >> $@
echo "const char version[] = \"GNU $(PACKAGE) $(VERSION)\";" >> $@
echo "const char stat_version[] = \"GNU $(PACKAGE) $(VERSION) \
-(`date`).\";" >> $@
+(`
LC_ALL=C TZ=UTC
date`).\";" >> $@
echo "const char host_system[] = \"$(host_triplet)\";" >> $@
echo "const char build_system[] = \"$(build_triplet)\";" >> $@
echo "const char locale_dir[] = \"$(datadir)/locale\";" >> $@