From f458e45abf7e114a55272bd494d6a5c13f7c85bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Sat, 9 May 2015 16:55:23 +0300 Subject: Skip any handling of dependencies if SKIP_DEPS is defined This includes fetching and compilation. Example usage: SKIP_DEPS=1 make tests Should improve people's life when there are no Internets. --- core/docs.mk | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'core/docs.mk') diff --git a/core/docs.mk b/core/docs.mk index 9637d32..e1e2d0e 100644 --- a/core/docs.mk +++ b/core/docs.mk @@ -11,5 +11,9 @@ ALL_DOC_DEPS_DIRS = $(addprefix $(DEPS_DIR)/,$(DOC_DEPS)) $(foreach dep,$(DOC_DEPS),$(eval $(call dep_target,$(dep)))) +ifneq ($(SKIP_DEPS),) +doc-deps: +else doc-deps: $(ALL_DOC_DEPS_DIRS) @for dep in $(ALL_DOC_DEPS_DIRS) ; do $(MAKE) -C $$dep; done +endif -- cgit v1.2.3