r11760: do not ignore make errors
authorKevin M. Rosenberg <kevin@rosenberg.net>
Thu, 19 Jul 2007 02:34:57 +0000 (02:34 +0000)
committerKevin M. Rosenberg <kevin@rosenberg.net>
Thu, 19 Jul 2007 02:34:57 +0000 (02:34 +0000)
debian/rules

index 90505795ca7c90ffb88234e6bce81ca515e83db0..9068b4e841186e35f40a2c3006d93ee474d0ff52 100755 (executable)
@@ -88,7 +88,7 @@ clean:
        dh_testdir
        dh_testroot
        rm -f build-arch-stamp build-indep-stamp configure-stamp
        dh_testdir
        dh_testroot
        rm -f build-arch-stamp build-indep-stamp configure-stamp
-       -$(MAKE) clean
+       [ ! -f Makefile ] || $(MAKE) distclean
        find . -type f -and -name \*~ -or -name .\*~ -exec rm -f {} \;
        dh_clean
 
        find . -type f -and -name \*~ -or -name .\*~ -exec rm -f {} \;
        dh_clean