* Set Standards-Version to 3.7.3 (no changes required).
[debian/iodine.git] / debian / rules
index 272a4f63be9ad025f370cf5d7ecebb91494428d2..2af51324a34a24f56cbaf7f521e61c06105ce7f0 100755 (executable)
@@ -20,12 +20,11 @@ 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)
@@ -35,15 +34,17 @@ build-stamp: configure-stamp
 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
-       $(MAKE) install PREFIX=debian/iodine/usr 
+       $(MAKE) install prefix=debian/iodine/usr 
+       touch $@
 
 
 # Build architecture-independent files here.