Skip to content

Commit ae4c3fe

Browse files
committed
Require book directory for building html
1 parent 71f8a0b commit ae4c3fe

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.PHONY: html
2+
13
OBSHELL=/bin/bash
24

35
.DEFAULT_GOAL = html
@@ -32,7 +34,7 @@ book/lessons:
3234
book/lessons/images:
3335
ln -s ${PWD}/lessons/images ${PWD}/book/lessons/images
3436

35-
html: | _requirements.installed $(NOTEBOOKS) $(MD_OUTPUTS)
37+
html: book/lessons _requirements.installed $(NOTEBOOKS) $(MD_OUTPUTS)
3638
@export SPHINXOPTS=-W; make -C book html
3739
cp $(GENERATED_LESSONS_DIR)/*.ipynb book/build/html/lessons/
3840

0 commit comments

Comments
 (0)