buildsys: clean more
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 3 Dec 2020 15:39:10 +0000 (16:39 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 3 Dec 2020 15:39:10 +0000 (16:39 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile

index 7ea60be18837ac9dcfbfbe1e33edb64af8fa6490..299abbc9be608c2da93121e7db9d683e05b9a9a1 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -37,7 +37,7 @@ ${DSC}: ${BUILDDIR}
 .PHONY: clean distclean
 distclean: clean
 clean:
 .PHONY: clean distclean
 distclean: clean
 clean:
-       rm -rf *~ *.deb *.changes ${BUILDDIR} *.buildinfo *.dsc *.tar.gz
+       rm -rf *~ *.deb *.changes ${PACKAGE}-*/ *.buildinfo *.dsc *.tar.gz
 
 .PHONY: check
 check:
 
 .PHONY: check
 check: