diff --git a/Makefile b/Makefile index 5ffec9d978..737494e8c4 100644 --- a/Makefile +++ b/Makefile @@ -39,7 +39,7 @@ api-deps: $(API_DEPS) include $(API_DEPS) -clean: clean-api +clean: clean-apis -rm -Rf $(VENV_DIR) -rm $(API_DEPS) diff --git a/src/mako/deps.mako b/src/mako/deps.mako index 76e464361f..a6fd635c6a 100644 --- a/src/mako/deps.mako +++ b/src/mako/deps.mako @@ -31,9 +31,11 @@ ${api_clean}: .PHONY += $(.PHONY) ${' '.join(a[0] for a in api_info)} ${' '.join(a[1] for a in api_info)} help-api: + $(info apis - make all APIs) % for a in api_info: $(info ${a[0]} - build the ${a[0]} api) $(info ${a[1]} - clean all generated files of the ${a[0]} api) % endfor -clean-api: ${' '.join(a[1] for a in api_info)} \ No newline at end of file +clean-apis: ${' '.join(a[1] for a in api_info)} +apis: ${' '.join(a[0] for a in api_info)} \ No newline at end of file