70ba42cb00117abab8ea950006ead7af3a94528d
[debian/iodine.git] / debian / rules
1 #!/usr/bin/make -f
2
3 include /usr/share/quilt/quilt.make
4
5 build: build-stamp
6 build-stamp: $(QUILT_STAMPFN)
7         dh build
8         touch build-stamp
9
10 clean: unpatch
11         debconf-updatepo
12         dh clean
13
14 install: build install-stamp
15 install-stamp:
16         dh install --before dh_auto_install
17         $(MAKE) install DESTDIR=$(CURDIR)/debian/iodine prefix=/usr
18         dh install --after dh_auto_install --before dh_compress
19         dh_compress -Xiodine-jigger
20         dh install --after dh_compress --before dh_installinit
21         dh_installinit --name=iodined
22         dh install --after dh_installinit
23         touch install-stamp
24
25 binary-arch: install
26         dh binary-arch
27
28 binary-indep: install
29         dh binary-indep
30
31 binary: binary-arch binary-indep