File tree Expand file tree Collapse file tree 3 files changed +11
-15
lines changed Expand file tree Collapse file tree 3 files changed +11
-15
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: b4fc99e09e5ef907b1de80919764852211fdc10c
2
+ refs/heads/master: af4e18d980725a2f3a6324b1f9a16c19222e17fd
Original file line number Diff line number Diff line change @@ -291,6 +291,11 @@ probe CFG_PANDOC pandoc
291
291
probe CFG_PDFLATEX pdflatex
292
292
probe CFG_NODE node
293
293
294
+ if [ -z " $CFG_NODE " ]
295
+ then
296
+ probe CFG_NODE nodejs
297
+ fi
298
+
294
299
if [ -z " $CFG_ENABLE_CLANG " -a -z " $CFG_GCC " ]
295
300
then
296
301
err " either clang or gcc is required"
Original file line number Diff line number Diff line change @@ -44,20 +44,11 @@ endif
44
44
45
45
ifdef CFG_NODE
46
46
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)
61
52
$(Q)cd doc/tutorial && $(CFG_NODE) build.js
62
53
63
54
endif
You can’t perform that action at this time.
0 commit comments