3 PACKAGE = $(shell dh_listpackages)
4 TMP = $(CURDIR)/debian/$(PACKAGE)
6 export DEB_BUILD_MAINT_OPTIONS := hardening=+pie,+bindnow
7 # needs dpkg-dev 1.19.0
8 -include /usr/share/dpkg/buildtools.mk
9 export PKG_CONFIG ?= pkg-config
14 override_dh_auto_clean:
18 override_dh_auto_build:
20 [ -x $(CURDIR)/debian/iodine-client-start ] || chmod +x $(CURDIR)/debian/iodine-client-start
21 help2man --output=$(CURDIR)/debian/iodine-client-start.8 \
22 --no-info --section=8 --name="start an iodine IPv4-over-DNS tunnel" \
23 $(CURDIR)/debian/iodine-client-start
25 override_dh_auto_install:
26 dh_auto_install -- DESTDIR=$(TMP) prefix=/usr
28 override_dh_installinit:
29 dh_installinit --name=iodined
31 override_dh_installtmpfiles:
32 dh_installtmpfiles --name=iodined
34 override_dh_installsystemd:
35 dh_installsystemd --name=iodined
37 override_dh_installlogcheck:
38 dh_installlogcheck --name=iodined