aboutsummaryrefslogtreecommitdiffstats
path: root/core/docs.mk
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2015-05-07 21:00:53 +0300
committerLoïc Hoguin <[email protected]>2015-05-07 21:00:53 +0300
commit030041dc06f80371aecc929e43fdf870d1f09973 (patch)
tree91a1eb56f954f8598a679d8589a6c7c494fc15a8 /core/docs.mk
parent49ffed442a9e01e79e3561da1f92f77bad1d38cd (diff)
downloaderlang.mk-030041dc06f80371aecc929e43fdf870d1f09973.tar.gz
erlang.mk-030041dc06f80371aecc929e43fdf870d1f09973.tar.bz2
erlang.mk-030041dc06f80371aecc929e43fdf870d1f09973.zip
Add Asciidoc documentation support
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