From: Thomas Lamprecht Date: Mon, 19 Jun 2023 12:50:27 +0000 (+0200) Subject: buildsys: expand clean target X-Git-Url: https://git.proxmox.com/?p=pve-installer.git;a=commitdiff_plain;h=2d5382e86a1c69b8dd1e8fd7dc13bc4adef4b07a buildsys: expand clean target Signed-off-by: Thomas Lamprecht --- diff --git a/Makefile b/Makefile index 0ffc247..54d2d20 100644 --- 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 {} ';'