]> git.lizzy.rs Git - rust.git/commitdiff
Move the ifdefs to nest properly. Real clever.
authorGraydon Hoare <graydon@mozilla.com>
Wed, 18 Jan 2012 00:49:57 +0000 (16:49 -0800)
committerGraydon Hoare <graydon@mozilla.com>
Wed, 18 Jan 2012 00:50:13 +0000 (16:50 -0800)
mk/docs.mk

index e8d3a06e8fb671d25c7bdf473f28d6e207f3d8e1..7f7c74e6234bc71b4ede681b4d50af490c3414e5 100644 (file)
@@ -42,18 +42,20 @@ doc/rust.pdf: doc/rust.tex
 
 endif
 
+endif
+
+
 ifdef CFG_NODE
 
 doc/tutorial/web/index.html: \
         $(wildcard $(S)doc/tutorial/*.md)
-       @$(call E, cp: $@)
+       @$(call E, cp: $(S)doc/tutorial)
        $(Q)cp -a $(S)doc/tutorial doc/
        @$(call E, node: build.js)
        $(Q)cd doc/tutorial && $(CFG_NODE) build.js
 
 endif
 
-endif
 
 ifdef CFG_LLNEXTGEN
 doc/rust.g: rust.md $(S)src/etc/extract_grammar.py