From 630f457666b48321be0a5b6fbf391efef1fa3eb4 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Sun, 3 Feb 2019 12:48:45 -0800 Subject: 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 --- altosui/Makefile.am | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'altosui') diff --git a/altosui/Makefile.am b/altosui/Makefile.am index 7cc1f4ea..eec15786 100644 --- a/altosui/Makefile.am +++ b/altosui/Makefile.am @@ -255,12 +255,18 @@ $(JAR): classaltosui.stamp Manifest.txt $(JAVA_ICONS) $(ALTOSLIB_CLASS) $(ALTOSU $(ICONJAR) \ -C classes altosui \ -C ../libaltos libaltosJNI +if STRIP_NONDETERMINISM + $(STRIP_NONDETERMINISM) $@ +endif $(FATJAR): classaltosui.stamp Manifest-fat.txt $(ALTOSLIB_CLASS) $(ALTOSUILIB_CLASS) $(FREETTS_CLASS) $(JFREECHART_CLASS) $(JCOMMON_CLASS) $(LIBALTOS) $(JAVA_ICONS) jar cfm $@ Manifest-fat.txt \ $(ICONJAR) \ -C classes altosui \ -C ../libaltos libaltosJNI +if STRIP_NONDETERMINISM + $(STRIP_NONDETERMINISM) $@ +endif Manifest.txt: Makefile echo 'Main-Class: altosui.AltosUI' > $@ -- cgit v1.2.3