aboutsummaryrefslogtreecommitdiffstats
path: root/core/docs.mk
diff options
context:
space:
mode:
Diffstat (limited to 'core/docs.mk')
-rw-r--r--core/docs.mk15
1 files changed, 15 insertions, 0 deletions
diff --git a/core/docs.mk b/core/docs.mk
new file mode 100644
index 0000000..9637d32
--- /dev/null
+++ b/core/docs.mk
@@ -0,0 +1,15 @@
+# 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))))
+
+doc-deps: $(ALL_DOC_DEPS_DIRS)
+ @for dep in $(ALL_DOC_DEPS_DIRS) ; do $(MAKE) -C $$dep; done