rmdir $*-1d.html
%.html.tar.gz: %.html/index.html
- tar -czf $(<:/index.html=.tar.gz) $(<:/index.html=)
+ GZIP=-n9 tar -czf $(<:/index.html=.tar.gz) $(<:/index.html=)
%.txt: %.sgml
LANG=C debiandoc2text $<
%.txt.gz: %.txt
- gzip -cf9 $< > $@
+ gzip -ncf9 $< > $@
%.ps: %.sgml
LANG=C debiandoc2latexps $<
%.ps.gz: %.ps
- gzip -cf9 $< > $@
+ gzip -ncf9 $< > $@
%.pdf: %.sgml
LANG=C debiandoc2latexpdf $<
%.pdf.gz: %.pdf
- gzip -cf9 $< > $@
+ gzip -ncf9 $< > $@
# This is a temporary hack to fold the upgrading-checklist into the Policy
# HTML directory so that it can be deployed alongside Policy on
links -dump $< | perl -pe 's/[\r\0]//g' > $@
copyright-format-1.0.txt.gz: copyright-format-1.0.txt
- gzip -cf9 $< > $@
+ gzip -ncf9 $< > $@
clean:
rm -f *.css *.html *.txt *.txt.gz
links -dump $< | perl -pe 's/[\r\0]//g' > $@
%.txt.gz: %.txt
- gzip -cf9 $< > $@
+ gzip -ncf9 $< > $@
clean:
rm -f *.css *.html *.txt *.txt.gz
debian-policy (3.9.7.0) unstable; urgency=low
* Policy: refreshed the names of the Policy Editors.
+ * Makefile: use gzip -n when compressing generated files.
* Policy: Symbolic links must not traverse above the root directory.
Wording: Andrey Rahmatullin <wrar@debian.org>
Seconded: Bill Allombert <ballombe@debian.org>
Seconded: Charles Plessy <plessy@debian.org>
Closes: #106073
- -- Bill Allombert <ballombe@debian.org> Fri, 08 May 2015 15:10:02 +0200
+ -- Bill Allombert <ballombe@debian.org> Tue, 13 Oct 2015 22:03:00 +0200
debian-policy (3.9.6.1) unstable; urgency=low
$(ORG_FILES:=.txt)
$(MAKE) -C copyright-format all
$(MAKE) -C debconf_spec all
- GZIP=-9 cd copyright-format && \
- tar -zcf ../copyright-format.xml.tar.gz *
- GZIP=-9 cd debconf_spec && \
- tar -zcf ../debconf_specification.xml.tar.gz *
+ cd copyright-format && \
+ GZIP=-n9 tar -zcf ../copyright-format.xml.tar.gz *
+ cd debconf_spec && \
+ GZIP=-n9 tar -zcf ../debconf_specification.xml.tar.gz *
touch stamp-build
# Create the version files for inclusion in the various documents. We want
#
# Compress files and build MD5 checksums.
#
- gzip -f9 $(DOCDIR)/*.txt $(DOCDIR)/*.sgml $(DOCDIR)/changelog
+ gzip -f9 $(DOCDIR)/*.sgml $(DOCDIR)/changelog
+ gzip -f9 -n $(DOCDIR)/*.txt
@set -ex; cd debian/tmp; \
find . -path './DEBIAN' -prune -o -type f -printf '%P\0' \
| xargs -r0 md5sum > DEBIAN/md5sums