martin f. krafft: prevent double-compilation when calling build+binary

Martin F. Krafft madduck at alioth.debian.org
Fri May 8 09:49:46 UTC 2009


Module: mdadm
Branch: master
Commit: 9c5d72a860723581cb0cb306531adb13ab14e5df
URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git;a=commit;h=9c5d72a860723581cb0cb306531adb13ab14e5df

Author: martin f. krafft <madduck at debian.org>
Date:   Fri May  8 11:10:13 2009 +0200

prevent double-compilation when calling build+binary

Since the quilt 'patch' target was a dependency of build-stamp, the
binaries were rebuilt when the binary target was invoked, even though
the build target had previously run. Moving the patch dependency to the
phone build target fixes that.

Signed-off-by: martin f. krafft <madduck at debian.org>

---

 debian/rules |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index 2a6d063..90c1eb4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -27,8 +27,8 @@ configure:
 debian/mdadm-startall.8: debian/mdadm-startall.sgml
 	docbook-to-man $< > $@
 
-build: configure build-stamp
-build-stamp: patch debian/mdadm-startall.8
+build: configure patch build-stamp
+build-stamp: debian/mdadm-startall.8
 	dh_testdir
 	$(MAKE) -f debian/rules mdadm.udeb DEBIAN=yes
 	$(MAKE) clean




More information about the pkg-mdadm-commits mailing list