penguin/monok8s

k8s image for Mono Gateway Dev Kit

commit c6b399ba22506fdaf895e617447be597f1d4d642844eab0eeb7c5bbaf72bdef2

author斟酌 鵬兄 <tgckpg@gmail.com>
date2026-04-16T19:24:17Z
subjectAdded pkgclean & distclean for clitools
commit c6b399ba22506fdaf895e617447be597f1d4d642844eab0eeb7c5bbaf72bdef2
Author: 斟酌 鵬兄 <tgckpg@gmail.com>
Date:   2026-04-16T19:24:17Z

    Added pkgclean & distclean for clitools
---
 clitools/makefile | 3 +++
 makefile          | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/clitools/makefile b/clitools/makefile
index 427044e..ae616bf 100644
--- a/clitools/makefile
+++ b/clitools/makefile
@@ -150,6 +150,9 @@ clean:
 		$(OUT_DIR)/crds \
 		$(BUILDINFO_FILE)
 
+distclean: clean
+	rm -rf $(OUT_DIR)
+
 dockerclean:
 	@echo "Removing tagged images..."
 	- docker rmi \
diff --git a/makefile b/makefile
index fbe4707..b3667a8 100644
--- a/makefile
+++ b/makefile
@@ -284,7 +284,7 @@ build-base: $(BUILD_BASE_STAMP)
 clitools: $(CLITOOLS_BIN)
 
 clean:
-	make -C clean clitools
+	$(MAKE) -C clean clitools
 	rm -f \
 		$(BUILD_BASE_STAMP) \
 		$(KERNEL_IMAGE) \