releasing version 0.6.0~rc1-4
[debian/iodine.git] / debian / rules
1 #!/usr/bin/make -f
2
3 include /usr/share/hardening-includes/hardening.make
4
5 export CFLAGS += $(HARDENING_CFLAGS)
6 export LDFLAGS += $(HARDENING_LDFLAGS)
7
8 %:
9         dh $@
10
11 override_dh_auto_clean:
12         debconf-updatepo
13         dh_auto_clean
14
15 override_dh_auto_build:
16         dh_auto_build
17         [ -x $(CURDIR)/debian/iodine-client-start ] || chmod +x $(CURDIR)/debian/iodine-client-start
18         help2man --output=$(CURDIR)/debian/iodine-client-start.8 \
19                 --no-info --section=8 --name="start an iodine IPv4-over-DNS tunnel" \
20                 $(CURDIR)/debian/iodine-client-start
21
22 override_dh_auto_install:
23         dh_auto_install -- DESTDIR=$(CURDIR)/debian/iodine prefix=/usr
24
25 override_dh_installinit:
26         dh_installinit --name=iodined