From 72189770ef8491d6c17fe8e7189999f78659525d Mon Sep 17 00:00:00 2001 From: manuzhang Date: Fri, 26 Jun 2026 16:37:24 +0800 Subject: [PATCH] build: add Makefile clean target Co-authored-by: Codex --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1501ba29a..100069545 100644 --- a/Makefile +++ b/Makefile @@ -15,13 +15,14 @@ # specific language governing permissions and limitations # under the License. -.PHONY: help install-deps build-api-docs build-docs clean-docs serve-docs +.PHONY: help install-deps build-api-docs build-docs clean clean-docs serve-docs help: @echo "Available targets:" @echo " install-deps - Install Python dependencies" @echo " build-api-docs - Build API documentation with Doxygen" @echo " build-docs - Build MkDocs documentation" + @echo " clean - Clean local CMake build artifacts" @echo " clean-docs - Clean documentation build artifacts" @echo " serve-docs - Serve documentation locally for development" @echo " all - Build all documentation" @@ -41,6 +42,9 @@ build-docs: mkdocs build --clean && \ echo "MkDocs site built in site/" +clean: + rm -rf build cmake-build cmake-build-debug cmake-build-release + clean-docs: rm -rf mkdocs/site rm -rf mkdocs/docs/api