From dbe577f136a82ea80176a2372093bf44607c8a63 Mon Sep 17 00:00:00 2001 From: Axel Beckert Date: Mon, 20 May 2013 21:33:20 +0200 Subject: [PATCH] Switch to a dh7 style debian/rules file --- debian/changelog | 6 ++++++ debian/rules | 35 ++++------------------------------- 2 files changed, 10 insertions(+), 31 deletions(-) diff --git a/debian/changelog b/debian/changelog index 82c80bd..cba3a73 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +mmv (1.01b-18) UNRELEASED; urgency=low + + * Switch to a dh7 style debian/rules file + + -- Axel Beckert Mon, 20 May 2013 21:28:54 +0200 + mmv (1.01b-17) unstable; urgency=low * Fix lintian warning malformed-override diff --git a/debian/rules b/debian/rules index 653082e..38343a9 100755 --- a/debian/rules +++ b/debian/rules @@ -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" -- 2.39.2