From 6fc0ac5ee3611a094e9462d9b54468bf1d59fa21 Mon Sep 17 00:00:00 2001 From: Huon Wilson Date: Fri, 9 Jan 2015 20:26:31 +1100 Subject: [PATCH] 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.) --- mk/docs.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- GitLab