]> arthur.barton.de Git - ngircd-alex.git/blobdiff - contrib/Debian/rules
Debian package ("make deb"): fix some lintian(1) warnings
[ngircd-alex.git] / contrib / Debian / rules
index 4b41bd7ac38b1905f56cfd7d6ba6243186e3f6e7..5648846d753273e9ea73ed2bf663a92eb64275b2 100755 (executable)
@@ -88,7 +88,7 @@ clean:
        rm -f $(CURDIR)/debian/ngircd-full.postinst
        
        # Add here commands to clean up after the build process:
-       -$(MAKE) clean
+       [ ! -f Makefile ] || $(MAKE) distclean
        
 ifneq "$(wildcard /usr/share/misc/config.sub)" ""
        cp -f /usr/share/misc/config.sub config.sub