* Don't ignore result of make distclean.
[debian/mimetic.git] / debian / rules
index 34416475edbf8e0436a1db1c80eb7f95e76b82cc..3511f2c8452f521589a5d06de62b260435d03604 100755 (executable)
@@ -55,7 +55,7 @@ clean:
        rm -f build-stamp 
 
        # Add here commands to clean up after the build process.
-       -$(MAKE) distclean
+       [ ! -f Makefile ] || $(MAKE) distclean
        -cd $(CURDIR)/doc && $(MAKE) dist-clean
        
 ifneq "$(wildcard /usr/share/misc/config.sub)" ""