* Don't ignore a make clean error (check for the existance of Makefile
authorjohn <john.wright@hp.com>
Wed, 2 Jan 2008 19:47:50 +0000 (12:47 -0700)
committerjohn <john.wright@hp.com>
Wed, 2 Jan 2008 19:47:50 +0000 (12:47 -0700)
  instead)

debian/changelog
debian/rules

index 46969c1..b22cf75 100644 (file)
@@ -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 <jsw@debian.org>  Thu, 13 Dec 2007 00:18:40 -0700
+ -- John Wright <jsw@debian.org>  Wed, 02 Jan 2008 12:46:50 -0700
 
 fmit (0.97.7-1) unstable; urgency=low
 
index ea4b74e..6cb5132 100755 (executable)
@@ -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