]> git.proxmox.com Git - pmg-gui.git/commitdiff
buildsys: make clean target more robust / safer
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 26 Jun 2023 13:26:57 +0000 (15:26 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 26 Jun 2023 13:26:59 +0000 (15:26 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile

index c634ee4eb7b68a69bb3589afed6153765f34a7b9..1783e4f27181548cc874fa763e2159e0cb3f7d44 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -78,7 +78,7 @@ check:
 
 clean:
        make -C js clean
-       rm -rf $(PACKAGE)-[0-9]* *.dsc *.tar.* *.deb *.changes *.buildinfo *.build
+       rm -rf $(PACKAGE)-[0-9]*/ *.dsc $(PACKAGE)*.tar.* *.deb *.changes *.buildinfo *.build
        find . -name '*~' -exec rm {} ';'
 
 .PHONY: dinstall