From e3b6aee6d631c589cb277b999583aa460631c34d Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Mon, 2 Mar 2015 11:56:32 +0100 Subject: [PATCH] feat(make): apis target - make all apis --- Makefile | 2 +- src/mako/deps.mako | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 5ffec9d9788..737494e8c44 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 76e464361f9..a6fd635c6a3 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