]> git.deb.at Git - pkg/mmv.git/commitdiff
Switch to a dh7 style debian/rules file
authorAxel Beckert <abe@deuxchevaux.org>
Mon, 20 May 2013 19:33:20 +0000 (21:33 +0200)
committerAxel Beckert <abe@deuxchevaux.org>
Mon, 20 May 2013 19:33:20 +0000 (21:33 +0200)
debian/changelog
debian/rules

index 82c80bd9de3111c815427f9c62a93f97d9ce35d3..cba3a739807e91898e40dcefb9e030337f2af85d 100644 (file)
@@ -1,3 +1,9 @@
+mmv (1.01b-18) UNRELEASED; urgency=low
+
+  * Switch to a dh7 style debian/rules file
+
+ -- Axel Beckert <abe@debian.org>  Mon, 20 May 2013 21:28:54 +0200
+
 mmv (1.01b-17) unstable; urgency=low
 
   * Fix lintian warning malformed-override
index 653082ea11cd74471f6ef8de22ded71acc15dd67..38343a93098f7f8a905385680f82e73c92dfa7ee 100755 (executable)
@@ -3,35 +3,8 @@
 DPKG_EXPORT_BUILDFLAGS = 1
 include /usr/share/dpkg/buildflags.mk
 
-build: build-arch build-indep
-build-arch: build-stamp
-build-indep: build-stamp
-build-stamp:
-       dh_testdir
-       dh_auto_build -- LDFLAGS="$(LDFLAGS)" CFLAGS="$(CFLAGS) -DIS_SYSV -DHAS_DIRENT -DHAS_RENAME"
-       touch build-stamp
-
-clean:
-       dh_testdir
-       dh_auto_clean
-       dh_clean
+%:
+       dh $@
 
-binary: binary-arch binary-indep
-binary-indep:
-       dh_testdir
-
-binary-arch: build
-       dh_testdir
-       dh_installdirs
-       dh_auto_install
-       dh_strip
-       dh_link
-       dh_installdocs
-       dh_installchangelogs
-       dh_compress
-       dh_lintian
-       dh_fixperms
-       dh_shlibdeps
-       dh_gencontrol
-       dh_md5sums
-       dh_builddeb
+override_dh_auto_build:
+       dh_auto_build -- LDFLAGS="$(LDFLAGS)" CFLAGS="$(CFLAGS) -DIS_SYSV -DHAS_DIRENT -DHAS_RENAME"