Move the ifdefs to nest properly. Real clever.
This commit is contained in:
parent
80c7bfb069
commit
dbd3d6ac09
|
@ -42,18 +42,20 @@ doc/rust.pdf: doc/rust.tex
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
ifdef CFG_NODE
|
ifdef CFG_NODE
|
||||||
|
|
||||||
doc/tutorial/web/index.html: \
|
doc/tutorial/web/index.html: \
|
||||||
$(wildcard $(S)doc/tutorial/*.md)
|
$(wildcard $(S)doc/tutorial/*.md)
|
||||||
@$(call E, cp: $@)
|
@$(call E, cp: $(S)doc/tutorial)
|
||||||
$(Q)cp -a $(S)doc/tutorial doc/
|
$(Q)cp -a $(S)doc/tutorial doc/
|
||||||
@$(call E, node: build.js)
|
@$(call E, node: build.js)
|
||||||
$(Q)cd doc/tutorial && $(CFG_NODE) build.js
|
$(Q)cd doc/tutorial && $(CFG_NODE) build.js
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifdef CFG_LLNEXTGEN
|
ifdef CFG_LLNEXTGEN
|
||||||
doc/rust.g: rust.md $(S)src/etc/extract_grammar.py
|
doc/rust.g: rust.md $(S)src/etc/extract_grammar.py
|
||||||
|
|
Loading…
Reference in New Issue