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.)
This commit is contained in:
Huon Wilson 2015-01-09 20:26:31 +11:00
parent 80fb5ca874
commit 6fc0ac5ee3
1 changed files with 1 additions and 1 deletions

View File

@ -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