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

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


Module: mdadm
Branch: debian/experimental
Commit: 26aa636a90ffb57d608afc2f55ef8fa6ec3bdbf9
URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git;a=commit;h=26aa636a90ffb57d608afc2f55ef8fa6ec3bdbf9

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 bfeaf68..b77224d 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