From dbd3d6ac09e456afe424d192fd74457b28511626 Mon Sep 17 00:00:00 2001 From: Graydon Hoare Date: Tue, 17 Jan 2012 16:49:57 -0800 Subject: [PATCH] Move the ifdefs to nest properly. Real clever. --- mk/docs.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mk/docs.mk b/mk/docs.mk index e8d3a06e8fb..7f7c74e6234 100644 --- a/mk/docs.mk +++ b/mk/docs.mk @@ -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