]> git.proxmox.com Git - mirror_smartmontools-debian.git/blobdiff - debian/rules
debian/rules: Do not ignore make clean errors
[mirror_smartmontools-debian.git] / debian / rules
index 70ee99a9879745a80546c8ba0a069395c9d4f95a..e51bc08467815ef02ba0be423c6d847da1d95340 100755 (executable)
@@ -67,7 +67,7 @@ clean: unpatch
        # rm -f debian/logcheck.logcheck.ignore.*
 
        # Add here commands to clean up after the build process.
-       -$(MAKE) distclean
+       [ ! -f Makefile ] || $(MAKE) distclean
        rm -f build-stamp configure-stamp \
              Makefile.in examplescripts/Makefile.in aclocal.m4 configure
        dh_clean