# HG changeset patch # User RhodeCode Admin # Date 2023-07-26 14:16:07 # Node ID d88b9a35b699b655cdccacd9bb40038dd178d213 # Parent d8788c5d9d99ec7cecf16906ff09ba6813ebc685 makefile: always cleanup build dir diff --git a/Makefile b/Makefile --- a/Makefile +++ b/Makefile @@ -10,6 +10,7 @@ OUTDATED_PACKAGES = ${PATH_TO_OUTDATED_P clean: make test-clean find . -type f \( -iname '*.c' -o -iname '*.pyc' -o -iname '*.so' -o -iname '*.orig' \) -exec rm '{}' ';' + find . -type d -name "build" -prune -exec rm -rf '{}' ';' .PHONY: test