Code

rules: Use $(DPATCH_STAMPFN) rather than "patch".
authorSebastian Harl <sh@tokkee.org>
Fri, 4 Jun 2010 12:14:00 +0000 (14:14 +0200)
committerSebastian Harl <sh@tokkee.org>
Fri, 4 Jun 2010 12:14:00 +0000 (14:14 +0200)
This avoids multiple calls to configure caused by the phony target "patch".

debian/rules

index 4fbde9998e76cbb3b590e16a2c6d98f87813fe97..d0c619bcbaefdddc2f53bbc1f60eefc0eef6ef70 100755 (executable)
@@ -23,7 +23,7 @@ endif
 
 include /usr/share/dpatch/dpatch.make
 
-$(BUILDDIR)/config.status: configure patch
+$(BUILDDIR)/config.status: configure $(DPATCH_STAMPFN)
        dh_testdir
        [ -e $(BUILDDIR) ] || mkdir $(BUILDDIR)
        cd $(BUILDDIR) && CFLAGS="$(CFLAGS)" ../../configure \