Skip to content

Commit ac07a6e

Browse files
committed
---
yaml --- r: 7387 b: refs/heads/master c: af4e18d h: refs/heads/master i: 7385: ce20103 7383: 76178ff v: v3
1 parent a8a6fec commit ac07a6e

File tree

3 files changed

+11
-15
lines changed

3 files changed

+11
-15
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: b4fc99e09e5ef907b1de80919764852211fdc10c
2+
refs/heads/master: af4e18d980725a2f3a6324b1f9a16c19222e17fd

trunk/configure

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,11 @@ probe CFG_PANDOC pandoc
291291
probe CFG_PDFLATEX pdflatex
292292
probe CFG_NODE node
293293

294+
if [ -z "$CFG_NODE" ]
295+
then
296+
probe CFG_NODE nodejs
297+
fi
298+
294299
if [ -z "$CFG_ENABLE_CLANG" -a -z "$CFG_GCC" ]
295300
then
296301
err "either clang or gcc is required"

trunk/mk/docs.mk

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -44,20 +44,11 @@ endif
4444

4545
ifdef CFG_NODE
4646

47-
doc/tutorial/web/index.html: doc/tutorial/args.md \
48-
doc/tutorial/control.md \
49-
doc/tutorial/data.md \
50-
doc/tutorial/ffi.md \
51-
doc/tutorial/func.md \
52-
doc/tutorial/generic.md \
53-
doc/tutorial/iface.md \
54-
doc/tutorial/index.md \
55-
doc/tutorial/intro.md \
56-
doc/tutorial/mod.md \
57-
doc/tutorial/setup.md \
58-
doc/tutorial/syntax.md \
59-
doc/tutorial/task.md \
60-
doc/tutorial/test.md
47+
doc/tutorial/web/index.html: \
48+
$(wildcard $(S)doc/tutorial/*.md)
49+
@$(call E, cp: $@)
50+
$(Q)cp -arv $(S)doc/tutorial doc/
51+
@$(call E, node: build.js)
6152
$(Q)cd doc/tutorial && $(CFG_NODE) build.js
6253

6354
endif

0 commit comments

Comments
 (0)