1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
#! /usr/bin/make -f
%:
dh $@
export DEB_BUILD_MAINT_OPTIONS := hardening=+all
export DEB_CPPFLAGS_MAINT_APPEND := -DSYSV -D_FILE_OFFSET_BITS=64
export DEB_CFLAGS_MAINT_APPEND := -Wall
override_dh_auto_build:
dh_auto_build -- $(shell dpkg-buildflags --export=configure)
# You only need to run this immediately after checking out the package from
# revision control.
quilt-setup:
[ ! -d .pc ]
set -e; for patch in $$(quilt series | tac); do \
patch -p1 -R --no-backup-if-mismatch <"debian/patches/$$patch"; \
done
quilt push -a
.PHONY: quilt-setup
|