Skip to content

Commit 8d72abb

Browse files
manuzhangcodex
andauthored
build: add Makefile clean target (#784)
Co-authored-by: Codex <codex@openai.com>
1 parent bb5cab5 commit 8d72abb

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,14 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18-
.PHONY: help install-deps build-api-docs build-docs clean-docs serve-docs
18+
.PHONY: help install-deps build-api-docs build-docs clean clean-docs serve-docs
1919

2020
help:
2121
@echo "Available targets:"
2222
@echo " install-deps - Install Python dependencies"
2323
@echo " build-api-docs - Build API documentation with Doxygen"
2424
@echo " build-docs - Build MkDocs documentation"
25+
@echo " clean - Clean local CMake build artifacts"
2526
@echo " clean-docs - Clean documentation build artifacts"
2627
@echo " serve-docs - Serve documentation locally for development"
2728
@echo " all - Build all documentation"
@@ -41,6 +42,9 @@ build-docs:
4142
mkdocs build --clean && \
4243
echo "MkDocs site built in site/"
4344

45+
clean:
46+
rm -rf build cmake-build cmake-build-debug cmake-build-release
47+
4448
clean-docs:
4549
rm -rf mkdocs/site
4650
rm -rf mkdocs/docs/api

0 commit comments

Comments
 (0)