]> git.proxmox.com Git - corosync-pve.git/blobdiff - Makefile
buildsys: expand clean target
[corosync-pve.git] / Makefile
index 5145d66c58441737d4bf5bc57ad106ab76268fe5..21c711a7977059a7a2eeb4146d18fb73b766f1f5 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -83,8 +83,7 @@ upload: $(DEBS)
 .PHONY: clean
 distclean: clean
 clean:
-       rm -rf *.deb *.changes *.dsc *.buildinfo $(BUILDDIR)
-       find . -name '*~' -exec rm () ';'
+       rm -rf *.deb *.changes *.dsc *.buildinfo *.build $(PACKAGE)-[0-9]*/ *.tar.?z
 
 .PHONY: dinstall
 dinstall: $(DEBS)