From f7a9ddfdfdb3ff8f1ab9dc22dc1ce70026a694f5 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Thu, 18 May 2023 11:59:07 +0200 Subject: [PATCH] buildsys: cleanup and expand clean target Signed-off-by: Thomas Lamprecht --- pmg-rs/Makefile | 4 +--- pve-rs/Makefile | 3 +-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/pmg-rs/Makefile b/pmg-rs/Makefile index 9c765207..d738337c 100644 --- a/pmg-rs/Makefile +++ b/pmg-rs/Makefile @@ -55,12 +55,10 @@ install: target/release/libpmg_rs.so Proxmox/Lib/PMG.pm PMG find $(PM_DIR) \! -type d -print -exec install -Dm644 '{}' $(DESTDIR)$(PERL_INSTALLVENDORLIB)'/{}' ';' distclean: clean - clean: cargo clean - rm -rf *.deb *.dsc *.tar.gz *.buildinfo *.changes Cargo.lock + rm -f *.deb *.dsc *.tar.* *.build *.buildinfo *.changes Cargo.lock rm -rf $(PACKAGE)-[0-9]*/ - find . -name '*~' -exec rm {} ';' .PHONY: dinstall dinstall: $(DEBS) diff --git a/pve-rs/Makefile b/pve-rs/Makefile index 741cac5d..de35c699 100644 --- a/pve-rs/Makefile +++ b/pve-rs/Makefile @@ -63,9 +63,8 @@ install: target/release/libpve_rs.so Proxmox/Lib/PVE.pm PVE clean: cargo clean - rm -rf *.deb *.dsc *.tar.gz *.buildinfo *.changes Cargo.lock *.tar.?z *.build + rm -f *.deb *.dsc *.tar.* *.build *.buildinfo *.changes Cargo.lock rm -rf $(PACKAGE)-[0-9]*/ - find . -name '*~' -exec rm {} ';' .PHONY: dinstall dinstall: $(DEBS)