.PHONY: prepare-check-env
prepare-check-env: test-$(DEB)
- umount -Rd testdir || true
rm -rf testdir
dpkg -X test-$(DEB) testdir
.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 {} ';'