diff options
author | Keith Packard <keithp@keithp.com> | 2019-02-03 12:48:45 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2019-02-03 13:02:57 -0800 |
commit | 630f457666b48321be0a5b6fbf391efef1fa3eb4 (patch) | |
tree | 95526d8ebc708e8cd070174c59bf68b7156fe1af /map-server | |
parent | 145e5a1ac557c4990e74fb64b005fc68d6941bdc (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 'map-server')
-rw-r--r-- | map-server/altos-mapd/Makefile.am | 6 | ||||
-rw-r--r-- | map-server/altos-mapj/Makefile.am | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/map-server/altos-mapd/Makefile.am b/map-server/altos-mapd/Makefile.am index 39f67536..315a33d5 100644 --- a/map-server/altos-mapd/Makefile.am +++ b/map-server/altos-mapd/Makefile.am @@ -42,12 +42,18 @@ classes/altosmapd: $(JAR): classaltosmapd.stamp Manifest.txt $(ALTOSLIB_CLASS) jar cfm $@ Manifest.txt \ -C classes altosmapd +if STRIP_NONDETERMINISM + $(STRIP_NONDETERMINISM) $@ +endif altosmapddir=$(datadir)/java $(FATJAR): classaltosmapd.stamp Manifest-fat.txt $(ALTOSLIB_CLASS) jar cfm $@ Manifest-fat.txt \ -C classes altosmapd +if STRIP_NONDETERMINISM + $(STRIP_NONDETERMINISM) $@ +endif altos-mapd: Makefile echo "#!/bin/sh" > $@ diff --git a/map-server/altos-mapj/Makefile.am b/map-server/altos-mapj/Makefile.am index f447adb6..98d4f170 100644 --- a/map-server/altos-mapj/Makefile.am +++ b/map-server/altos-mapj/Makefile.am @@ -31,12 +31,18 @@ classes/altosmap: $(JAR): classaltosmap.stamp Manifest.txt $(ALTOSLIB_CLASS) jar cfm $@ Manifest.txt \ -C classes altosmap +if STRIP_NONDETERMINISM + $(STRIP_NONDETERMINISM) $@ +endif altosmapdir=$(datadir)/java $(FATJAR): classaltosmap.stamp Manifest-fat.txt $(ALTOSLIB_CLASS) jar cfm $@ Manifest-fat.txt \ -C classes altosmap +if STRIP_NONDETERMINISM + $(STRIP_NONDETERMINISM) $@ +endif altos-mapj: Makefile echo "#!/bin/sh" > $@ |