Skip to content

Commit 6fc0ac5

Browse files
committed
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.)
1 parent 80fb5ca commit 6fc0ac5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mk/docs.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,6 @@ compiler-docs: $(COMPILER_DOC_TARGETS)
283283

284284
trpl: doc/book/index.html
285285

286-
doc/book/index.html: $(RUSTBOOK_EXE) $(wildcard $(S)/src/doc/trpl/*.md)
286+
doc/book/index.html: $(RUSTBOOK_EXE) $(wildcard $(S)/src/doc/trpl/*.md) | doc/
287287
$(Q)rm -rf doc/book
288288
$(Q)$(RUSTBOOK) build $(S)src/doc/trpl doc/book

0 commit comments

Comments
 (0)