summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authormartin f. krafft <madduck@debian.org>2009-05-08 11:10:13 +0200
committermartin f. krafft <madduck@debian.org>2009-05-08 11:10:17 +0200
commit26aa636a90ffb57d608afc2f55ef8fa6ec3bdbf9 (patch)
tree91e13344d81900b03de48dc547a1117291c89a67 /debian/rules
parent50f5025494542167473b9aa773afa7d44806c104 (diff)
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@debian.org>
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/rules b/debian/rules
index bfeaf685..b77224d6 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