From 8c6520d1fc8d82093544dca4bec4dc508878a2a3 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Tue, 10 Oct 2023 15:44:45 +0200 Subject: [PATCH] buildsys: improve clean target Signed-off-by: Thomas Lamprecht --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 181407b..82630da 100644 --- a/Makefile +++ b/Makefile @@ -81,7 +81,8 @@ $(BUILDDIR): $(SRCDIR)/README.md $(SRCDIR) debian .PHONY: clean clean: - rm -rf *~ *.deb *.changes *.buildinfo *.build *.dsc *.orig.tar.* *.debian.tar.* $(ZFSDIR) + rm -rf $(PACKAGE)-[0-9]*/ + rm -f *~ *.deb *.changes *.buildinfo *.build *.dsc *.orig.tar.* *.debian.tar.* .PHONY: distclean distclean: clean