]> git.proxmox.com Git - pve-apiclient.git/commitdiff
buildsys: cleanup and expand clean target
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 19 May 2023 13:52:17 +0000 (15:52 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 19 May 2023 13:52:17 +0000 (15:52 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile

index 3d224a980dc272d990596d9ca3f6d0b133397bd6..cfd29391fbc9843d326c679b57ddde9882879530 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -44,9 +44,8 @@ upload: $(DEB)
        tar cf - $(DEB) | ssh -X repoman@repo.proxmox.com upload --product pmg,pve --dist bullseye
 
 distclean: clean
-
 clean:
-       rm -rf ./$(BUILDSRC) *.deb *.changes *.buildinfo *.dsc *.tar.gz
+       rm -rf $(PACKAGE)-[0-9]*/ *.deb *.changes *.buildinfo *.build *.dsc *.tar.*
 
 .PHONY: dinstall
 dinstall: $(DEB)