about summary refs log tree commit diff
diff options
context:
space:
mode:
authorHuon Wilson <dbau.pp+github@gmail.com>2015-01-09 20:26:31 +1100
committerHuon Wilson <dbau.pp+github@gmail.com>2015-01-09 20:26:31 +1100
commit6fc0ac5ee3611a094e9462d9b54468bf1d59fa21 (patch)
tree9a64470da2e51cfc148f4aafbe20603fd7b1e288
parent80fb5ca8744d220b7f86ed05d9cdbecc454f9970 (diff)
downloadrust-6fc0ac5ee3611a094e9462d9b54468bf1d59fa21.tar.gz
rust-6fc0ac5ee3611a094e9462d9b54468bf1d59fa21.zip
Ensure that the book is built after the doc/ directory.
Without this, rustbook was failing because it was expecting the
directory to exist. (Previously, rustbook was just silently failing to
install the CSS files due to this.)
-rw-r--r--mk/docs.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/docs.mk b/mk/docs.mk
index 3f8b677185f..8af47700f25 100644
--- a/mk/docs.mk
+++ b/mk/docs.mk
@@ -283,6 +283,6 @@ compiler-docs: $(COMPILER_DOC_TARGETS)
 
 trpl: doc/book/index.html
 
-doc/book/index.html: $(RUSTBOOK_EXE) $(wildcard $(S)/src/doc/trpl/*.md)
+doc/book/index.html: $(RUSTBOOK_EXE) $(wildcard $(S)/src/doc/trpl/*.md) | doc/
 	$(Q)rm -rf doc/book
 	$(Q)$(RUSTBOOK) build $(S)src/doc/trpl doc/book