summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <[email protected]>2015-06-30 19:19:42 +0200
committerinfirit <infir[email protected]>2015-06-30 19:19:51 +0200
commitf1b167ac1561def41dcea25cbd39100049d436c2 (patch)
treef261c67546145a8b3a84a9582706a6bc06460f2d
parentd2dd3c359802a02ebd9c4f55f837f9d0ef6a4ea8 (diff)
downloadlibmateweather-1.10.tar.bz2
libmateweather-1.10.tar.xz
Support reproducible builds, no timestamps in .gz files1.10
closes #22
-rw-r--r--data/Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 56de65e..ce1b8fc 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -13,7 +13,7 @@ libmateweatherlocations_DATA = $(libmateweatherlocations_in_files:.xml.in=.xml$(
%.xml$(COMPRESS_EXT): %.xml.in $(wildcard $(top_srcdir)/po-locations/*.po)
$(AM_V_GEN)LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po-locations/.intltool-merge-cache $(top_srcdir)/po-locations $< `echo [email protected] | sed "s/.xml$(COMPRESS_EXT)/.xml/"` && \
if test "x$(COMPRESS_EXT)" = "x.gz"; then \
- gzip --force `echo [email protected] | sed "s/.xml$(COMPRESS_EXT)/.xml/"`; \
+ gzip -n --force `echo [email protected] | sed "s/.xml$(COMPRESS_EXT)/.xml/"`; \
fi
else # USE_ONE_BIG_XML
@@ -40,14 +40,14 @@ $(LOCATIONS_STAMP): $(libmateweatherlocations_in_files) $(PO_LOCATIONS) Makefile
rm -f $$locale/$(libmateweatherlocations_data); \
test -d $$locale && rmdir $$locale; \
if test "x$(COMPRESS_EXT)" = "x.gz"; then \
- gzip --force Locations.$$locale.xml; \
+ gzip -n --force Locations.$$locale.xml; \
fi; \
done && \
xmllint --noblanks -o Locations.xml C/$(libmateweatherlocations_data) && \
rm -f C/$(libmateweatherlocations_data) && \
test -d C && rmdir C && \
if test "x$(COMPRESS_EXT)" = "x.gz"; then \
- gzip --force Locations.xml; \
+ gzip -n --force Locations.xml; \
fi && \