endif
endif
+ifeq ($(CFG_NODE),)
+ $(info cfg: no node found, omitting doc/tutorial/web)
+else
+ DOCS += doc/tutorial/web/index.html
+endif
+
ifeq ($(CFG_NATURALDOCS),)
$(info cfg: no naturaldocs found, omitting library doc build)
else
probe CFG_LLNEXTGEN LLnextgen
probe CFG_PANDOC pandoc
probe CFG_PDFLATEX pdflatex
+probe CFG_NODE node
if [ -z "$CFG_ENABLE_CLANG" -a -z "$CFG_GCC" ]
then
endif
+ifdef CFG_NODE
+
+doc/tutorial/web/index.html: doc/tutorial/args.md \
+ doc/tutorial/control.md \
+ doc/tutorial/data.md \
+ doc/tutorial/ffi.md \
+ doc/tutorial/func.md \
+ doc/tutorial/generic.md \
+ doc/tutorial/iface.md \
+ doc/tutorial/index.md \
+ doc/tutorial/intro.md \
+ doc/tutorial/mod.md \
+ doc/tutorial/setup.md \
+ doc/tutorial/syntax.md \
+ doc/tutorial/task.md \
+ doc/tutorial/test.md
+ $(Q)cd doc/tutorial && $(CFG_NODE) build.js
+
+endif
+
endif
ifdef CFG_LLNEXTGEN