]> git.proxmox.com Git - pve-qemu.git/commitdiff
buildsys: expand clean target
authorFiona Ebner <f.ebner@proxmox.com>
Fri, 19 May 2023 11:22:00 +0000 (13:22 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sun, 21 May 2023 13:50:56 +0000 (15:50 +0200)
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
 [ T: remove all tarballs for a package and any .deb ]
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile

index da63ce27bd7da5b60569b52ff2f31ce82ccc6f86..3dd1da7e599272872f41023425acbdef788511ba 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -70,7 +70,7 @@ upload: $(DEBS)
 .PHONY: distclean clean
 distclean: clean
 clean:
-       rm -rf $(BUILDDIR) $(PACKAGE)*.deb *.buildinfo *.changes
+       rm -rf $(PACKAGE)-[0-9]*/ $(PACKAGE)*.tar* *.deb *.dsc *.build *.buildinfo *.changes
 
 .PHONY: dinstall
 dinstall: $(DEBS)