buildsys: safer clean target

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2023-06-26 09:22:52 +02:00
parent 1f11c55787
commit eb45cd58e1

View File

@ -46,5 +46,5 @@ upload: $(DEBS)
tar cf - $(DEBS)|ssh -X repoman@repo.proxmox.com -- upload --product pmg --dist $(UPLOAD_DIST)
clean:
rm -rf $(PACKAGE)-[0-9]*/ $(PACKAGE)*.tar.* *.deb *.dsc *build *.buildinfo *.changes
find . -name '*~' -exec rm {} ';'
rm -rf $(PACKAGE)-[0-9]*/
rm -f $(PACKAGE)*.tar.* *.deb *.dsc *build *.buildinfo *.changes