* Set Standards-Version to 3.7.3 (no changes required).
[debian/iodine.git] / debian / rules
index b67af2a48752ae2885a2a5b0ed71fcc1bab4273c..2af51324a34a24f56cbaf7f521e61c06105ce7f0 100755 (executable)
@@ -20,31 +20,31 @@ else
 endif
 
 configure: configure-stamp
-configure-stamp:
+configure-stamp: $(DPATCH_STAMPFN)
        dh_testdir
-       touch configure-stamp
+       touch $@
 
 build: build-stamp
-
 build-stamp: configure-stamp
        dh_testdir
        $(MAKE)
-#      $(MAKE) test
+       $(MAKE) test
        touch $@
 
 clean: unpatch
        dh_testdir
        dh_testroot
-       rm -f build-stamp configure-stamp
+       rm -f build-stamp configure-stamp install-stamp
        $(MAKE) clean
+       debconf-updatepo
        dh_clean
 
-install: build patch
+install: install-stamp
+install-stamp: build-stamp
        dh_testdir
        dh_testroot
-       dh_installdirs
-       $(MAKE) install PREFIX=$(CURDIR)/debian/iodine/usr 
-       dh_clean
+       $(MAKE) install prefix=debian/iodine/usr 
+       touch $@
 
 
 # Build architecture-independent files here.
@@ -56,27 +56,13 @@ binary-arch: build install
        dh_testdir
        dh_testroot
        dh_installchangelogs CHANGELOG
-       dh_installdocs
-#      dh_installexamples
-       dh_install
-#      dh_installmenu
+       dh_installdocs README
        dh_installdebconf       
-#      dh_installlogrotate
-#      dh_installemacsen
-#      dh_installpam
-#      dh_installmime
-#      dh_python
-       dh_installinit --name=iodine
        dh_installinit --name=iodined
-#      dh_installcron
-#      dh_installinfo
-#      dh_installman
        dh_link usr/share/man/man8/iodine.8 usr/share/man/man8/iodined.8
        dh_strip
-       dh_compress $(CURDIR)/debian/iodine/usr/share/man/man8/iodine.8
+       dh_compress
        dh_fixperms
-#      dh_perl
-#      dh_makeshlibs
        dh_installdeb
        dh_shlibdeps
        dh_gencontrol