]> git.proxmox.com Git - pve-installer.git/commitdiff
buildsys: expand clean target
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 19 Jun 2023 12:50:27 +0000 (14:50 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 19 Jun 2023 13:08:03 +0000 (15:08 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile

index 0ffc2476ff9b386f388331c01a4fce4249afb2fc..54d2d207897ee542f1d418407452a8f7ae3421c7 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -77,7 +77,6 @@ upload: $(DEB)
 
 .PHONY: prepare-check-env
 prepare-check-env: test-$(DEB)
-       umount -Rd testdir || true
        rm -rf testdir
        dpkg -X test-$(DEB) testdir
 
@@ -122,7 +121,7 @@ check-pbs: prepare-check-env test.img
 
 .phony: clean
 clean:
-       umount -Rd testdir || true
-       rm -rf *~ *.deb target build packages packages.tmp testdir test*.img pve-final.pkglist \
-         *.buildinfo *.changes country.dat final.pkglist cd-info.test
+       rm -rf target build $(PACKAGE)-[0-9]*
+       rm -f $(PACKAGE)*.tar* *.deb packages packages.tmp *.build *.dsc *.buildinfo *.changes
+       rm -f testdir test*.img pve-final.pkglist country.dat final.pkglist cd-info.test
        find . -name '*~' -exec rm {} ';'