]> git.proxmox.com Git - corosync-pve.git/commitdiff
buildsys: expand clean target
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Sun, 7 May 2023 12:23:56 +0000 (14:23 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sun, 7 May 2023 12:47:06 +0000 (14:47 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
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)