#!/usr/bin/make -f
+PACKAGE = $(shell dh_listpackages)
+TMP = $(CURDIR)/debian/$(PACKAGE)
+
+export DEB_BUILD_MAINT_OPTIONS := hardening=+pie,+bindnow
+
%:
- dh --with quilt $@
+ dh $@
override_dh_auto_clean:
debconf-updatepo
$(CURDIR)/debian/iodine-client-start
override_dh_auto_install:
- dh_auto_install -- DESTDIR=$(CURDIR)/debian/iodine prefix=/usr
+ dh_auto_install -- DESTDIR=$(TMP) prefix=/usr
override_dh_installinit:
dh_installinit --name=iodined
+
+override_dh_installlogcheck:
+ dh_installlogcheck
+ mv $(TMP)/etc/logcheck/ignore.d.server/iodine $(TMP)/etc/logcheck/ignore.d.server/iodined