feat(make): apis target - make all apis

This commit is contained in:
Sebastian Thiel
2015-03-02 11:56:32 +01:00
parent 2298601165
commit e3b6aee6d6
2 changed files with 4 additions and 2 deletions

View File

@@ -39,7 +39,7 @@ api-deps: $(API_DEPS)
include $(API_DEPS)
clean: clean-api
clean: clean-apis
-rm -Rf $(VENV_DIR)
-rm $(API_DEPS)

View File

@@ -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)}
clean-apis: ${' '.join(a[1] for a in api_info)}
apis: ${' '.join(a[0] for a in api_info)}