[Build-common-hackers] Bug#299010: Patch for broken config.{guess|sub} management

Christopher Martin Christopher Martin <christopher.martin@utoronto.ca>, 299010@bugs.debian.org
Sun, 24 Apr 2005 13:08:16 -0400


--Boundary-00=_BK9aCtwk818gdpH
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hello,

Attached you'll find a trivial patch that seems to work around the problem 
with reverse-patches running update-config.

Cheers,
Christopher Martin

--Boundary-00=_BK9aCtwk818gdpH
Content-Type: text/x-diff;
  charset="us-ascii";
  name="simple-patchsys.mk.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="simple-patchsys.mk.patch"

--- cdbs.orig/simple-patchsys.mk
+++ cdbs.patched/simple-patchsys.mk
@@ -140,7 +140,7 @@
 	if [ "$@" = "debian/stamp-patched" ] ; then touch debian/stamp-patched ; \
 	elif [ "$@" = "reverse-patches" ] ; then rm -f debian/stamp-patch* ; \
 	fi
-	$(MAKE) -f debian/rules update-config
+	if [ "$@" != "reverse-patches" ] ; then $(MAKE) -f debian/rules update-config ; fi
 
 endif
 

--Boundary-00=_BK9aCtwk818gdpH--