]> git.proxmox.com Git - pmg-log-tracker.git/commitdiff
buildsys: expand clean target
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 26 Jun 2023 15:55:37 +0000 (17:55 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 26 Jun 2023 16:04:53 +0000 (18:04 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile

index b03258f186c2f19c509caada62ae1abde8fe9f12..f32434bd8f20620b6a949850b2a69fd5350a6ada 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -66,5 +66,5 @@ distclean: clean
 
 .PHONY: clean
 clean:
-       rm -rf *.deb $(PACKAGE)-* *.buildinfo *.changes *.dsc rust-$(PACKAGE)_*.tar.?z build/ *build
-       find . -name '*~' -exec rm {} ';'
+       rm -rf $(PACKAGE)-[0-9]*/ build/
+       rm -f *.deb *.buildinfo *.changes *.dsc rust-$(PACKAGE)*.tar* *build