diff options
| author | Huon Wilson <dbau.pp+github@gmail.com> | 2015-01-09 20:26:31 +1100 |
|---|---|---|
| committer | Huon Wilson <dbau.pp+github@gmail.com> | 2015-01-09 20:26:31 +1100 |
| commit | 6fc0ac5ee3611a094e9462d9b54468bf1d59fa21 (patch) | |
| tree | 9a64470da2e51cfc148f4aafbe20603fd7b1e288 | |
| parent | 80fb5ca8744d220b7f86ed05d9cdbecc454f9970 (diff) | |
| download | rust-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.mk | 2 |
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 |
