1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
#!/usr/bin/make -f
#export DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
# many truncated snprintf, difficult to fix without rewrite #853309
export DEB_CFLAGS_MAINT_APPEND=-Wno-error=format-truncation
include /usr/share/dpkg/architecture.mk
ifeq ($(origin CC),default)
CC := $(DEB_HOST_GNU_TYPE)-gcc
endif
%:
dh $@
override_dh_auto_configure:
linuxdoc --backend=html debian/docs/postfix-altermime-howto.sgml
mkdir -p debian/docs/html
mv -f postfix-altermime-howto*.html debian/docs/html
dh_auto_configure
override_dh_auto_build:
dh_auto_build -- CC=$(CC)
override_dh_auto_install:
dh_auto_install --destdir=debian/altermime/usr/bin
override_dh_auto_clean:
rm -rf debian/docs/html
dh_auto_clean
|