version := $(shell dpkg-parsechangelog | awk '/^Version:/ { print $$2; exit }')
# Currently, emacs23 is required (xemacs is not sufficient).
-EMACS := emacs23
+EMACS := emacs24
# Location of the source and build directories.
SRCTOP := $(CURDIR)
$(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
#
# Build the package.
#
- dpkg-gencontrol -p$(package) -Pdebian/tmp -isp
+ dpkg-gencontrol -p$(package) -Pdebian/tmp
chown -R root:root debian/tmp
chmod -R go=rX debian/tmp
dpkg --build debian/tmp ..