From: john Date: Wed, 2 Jan 2008 19:47:50 +0000 (-0700) Subject: * Don't ignore a make clean error (check for the existance of Makefile X-Git-Tag: 0.97.7-2~3 X-Git-Url: http://git.johnwright.org/?p=fmit.git;a=commitdiff_plain;h=035bc6a16315a52493985f8172ecfd9a65b4d513 * Don't ignore a make clean error (check for the existance of Makefile instead) --- diff --git a/debian/changelog b/debian/changelog index 46969c1..b22cf75 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,8 +3,10 @@ fmit (0.97.7-2) UNRELEASED; urgency=low * Update Standards-Version to 3.7.3 (no changes needed to be made) * Promote XS-Vcs-* fields to Vcs-* fields, since they are now natively supported by dpkg. + * Don't ignore a make clean error (check for the existance of Makefile + instead) - -- John Wright Thu, 13 Dec 2007 00:18:40 -0700 + -- John Wright Wed, 02 Jan 2008 12:46:50 -0700 fmit (0.97.7-1) unstable; urgency=low diff --git a/debian/rules b/debian/rules index ea4b74e..6cb5132 100755 --- a/debian/rules +++ b/debian/rules @@ -57,7 +57,7 @@ clean: unpatch rm -f build-stamp # Add here commands to clean up after the build process. - -$(MAKE) distclean + [ ! -f Makefile ] || $(MAKE) distclean ifneq "$(wildcard /usr/share/misc/config.sub)" "" cp -f /usr/share/misc/config.sub config.sub endif