]> git.proxmox.com Git - pve-network.git/commitdiff
buildsys: clean also old build directories when running make clean
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 18 Jun 2019 08:21:18 +0000 (10:21 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 18 Jun 2019 08:21:26 +0000 (10:21 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile

index 032cbf834baf9f50c903add81996ba5a505b4421..022c806d7bc1b68a6ba0735bdde519e99882e8ac 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -37,7 +37,7 @@ ${DSC}: ${BUILDDIR}
 .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: