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 31 32 33
|
#!/usr/bin/make -f
# debian/rules for crashmail
DPKG_EXPORT_BUILDFLAGS = 1
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
include /usr/share/dpkg/buildflags.mk
%:
dh $@
override_dh_auto_clean:
rm -rf bin
$(MAKE) -C src cleanlinux
override_dh_auto_build:
mkdir bin
$(MAKE) -C src linux
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
$(MAKE) -C tests
endif
override_dh_auto_install:
dh_auto_install --destdir=debian/crashmail
override_dh_installdocs:
dh_installdocs --link-doc=crashmail
override_dh_strip:
dh_strip --dbgsym-migration='crashmail-dbg (<< 1.6-1~)'
.PHONY: override_dh_strip
|