update changelog
[debian/iodine.git] / debian / rules
1 #!/usr/bin/make -f
2
3 export DEB_BUILD_MAINT_OPTIONS := hardening=+pie,+bindnow
4
5 %:
6         dh $@
7
8 override_dh_auto_clean:
9         debconf-updatepo
10         dh_auto_clean
11
12 override_dh_auto_build:
13         dh_auto_build
14         [ -x $(CURDIR)/debian/iodine-client-start ] || chmod +x $(CURDIR)/debian/iodine-client-start
15         help2man --output=$(CURDIR)/debian/iodine-client-start.8 \
16                 --no-info --section=8 --name="start an iodine IPv4-over-DNS tunnel" \
17                 $(CURDIR)/debian/iodine-client-start
18
19 override_dh_auto_install:
20         dh_auto_install -- prefix=/usr
21
22 override_dh_install:
23         dh_install
24         mv -v $(CURDIR)/debian/iodined/usr/share/man/man8/iodine.8 \
25                 $(CURDIR)/debian/iodined/usr/share/man/man8/iodined.8