summaryrefslogtreecommitdiff
path: root/telegps
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2019-02-03 12:48:45 -0800
committerKeith Packard <keithp@keithp.com>2019-02-03 13:02:57 -0800
commit630f457666b48321be0a5b6fbf391efef1fa3eb4 (patch)
tree95526d8ebc708e8cd070174c59bf68b7156fe1af /telegps
parent145e5a1ac557c4990e74fb64b005fc68d6941bdc (diff)
Use strip-nondeterminism to fix JAR timestamps
.jar files are just zip files, and contain dates. These will cause the build to be non-reproducible. Use strip-nondeterminism to smash all of these back to a fixed value. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'telegps')
-rw-r--r--telegps/Makefile.am6
1 files changed, 6 insertions, 0 deletions
diff --git a/telegps/Makefile.am b/telegps/Makefile.am
index 3443b288..ae1e83e9 100644
--- a/telegps/Makefile.am
+++ b/telegps/Makefile.am
@@ -227,12 +227,18 @@ $(JAR): classtelegps.stamp Manifest.txt $(JAVA_ICONS) $(ALTOSLIB_CLASS) $(ALTOSU
$(ICONJAR) \
-C classes org \
-C ../libaltos libaltosJNI
+if STRIP_NONDETERMINISM
+ $(STRIP_NONDETERMINISM) $@
+endif
$(FATJAR): classtelegps.stamp Manifest-fat.txt $(ALTOSLIB_CLASS) $(ALTOSUILIB_CLASS) $(JFREECHART_CLASS) $(JCOMMON_CLASS) $(JAVA_ICONS)
jar cfm $@ Manifest-fat.txt \
$(ICONJAR) \
-C classes org \
-C ../libaltos libaltosJNI
+if STRIP_NONDETERMINISM
+ $(STRIP_NONDETERMINISM) $@
+endif
libaltos.so: build-libaltos
-rm -f "$@"