aboutsummaryrefslogblamecommitdiffstats
path: root/core/docs.mk
blob: e1e2d0ec4cd7b4bbf5ab232f8a91a2fbf2d2fe77 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                                             


                     

                                                                    
     
# Copyright (c) 2015, Viktor Söderqvist <[email protected]>
# This file is part of erlang.mk and subject to the terms of the ISC License.

.PHONY: docs-deps

# Configuration.

ALL_DOC_DEPS_DIRS = $(addprefix $(DEPS_DIR)/,$(DOC_DEPS))

# Targets.

$(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