Update debian/rules, bump build dependencies in debian/control
[debian/iodine.git] / debian / rules
index 70ba42cb00117abab8ea950006ead7af3a94528d..d5b344397f3ae67858ea2e5c371c91efbe1339e5 100755 (executable)
@@ -1,31 +1,17 @@
 #!/usr/bin/make -f
 
 #!/usr/bin/make -f
 
-include /usr/share/quilt/quilt.make
+%:
+       dh --with quilt $@
 
 
-build: build-stamp
-build-stamp: $(QUILT_STAMPFN)
-       dh build
-       touch build-stamp
-
-clean: unpatch
+override_dh_auto_clean:
        debconf-updatepo
        debconf-updatepo
-       dh clean
-
-install: build install-stamp
-install-stamp:
-       dh install --before dh_auto_install
-       $(MAKE) install DESTDIR=$(CURDIR)/debian/iodine prefix=/usr
-       dh install --after dh_auto_install --before dh_compress
-       dh_compress -Xiodine-jigger
-       dh install --after dh_compress --before dh_installinit
-       dh_installinit --name=iodined
-       dh install --after dh_installinit
-       touch install-stamp
+       dh_auto_clean
 
 
-binary-arch: install
-       dh binary-arch
+override_dh_auto_install:
+       dh_auto_install -- DESTDIR=$(CURDIR)/debian/iodine prefix=/usr
 
 
-binary-indep: install
-       dh binary-indep
+override_dh_compress:
+       dh_compress -Xiodine-jigger
 
 
-binary: binary-arch binary-indep
+override_dh_installinit:
+       dh_installinit --name=iodined