]> git.deb.at Git - pkg/mmv.git/commitdiff
Use dh_auto_build
authorAxel Beckert <abe@deuxchevaux.org>
Sun, 16 Sep 2012 17:27:57 +0000 (19:27 +0200)
committerAxel Beckert <abe@deuxchevaux.org>
Sun, 16 Sep 2012 17:32:07 +0000 (19:32 +0200)
debian/rules

index 8f3c79753ecfcc4ead9e23583d24b5f79a68cc3b..409795105c20193dd2a7b1b13c7e0f59363e3827 100755 (executable)
@@ -9,14 +9,13 @@ build-indep: build-stamp
 build-stamp:
 # Builds the binary package.
        dh_testdir
 build-stamp:
 # Builds the binary package.
        dh_testdir
-       $(MAKE) CC="$(CC)" LDFLAGS="$(LDFLAGS)" CFLAGS="$(CFLAGS)"
-       touch build
+       dh_auto_build -- LDFLAGS="$(LDFLAGS)"
 
 clean:
 # Undoes the effect of `make -f debian/rules build'.
        dh_testdir
        dh_auto_clean
 
 clean:
 # Undoes the effect of `make -f debian/rules build'.
        dh_testdir
        dh_auto_clean
-       dh_clean build debian/substvars
+       dh_clean
 
 binary: binary-arch binary-indep
 
 
 binary: binary-arch binary-indep