Skip to content

Commit

Permalink
Fix skdemo
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanv committed Dec 3, 2021
1 parent d4325e7 commit a94279d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ _requirements.installed:
$(EXEC_NB_DIR):
mkdir book/_modules

$(EXEC_NB_DIR)/%.ipynb:$(NB_DIR)/%.md $(EXEC_NB_DIR)
$(EXEC_NB_DIR)/skdemo:
ln -s $(PWD)/lectures/skdemo $(EXEC_NB_DIR)/skdemo

$(EXEC_NB_DIR)/%.ipynb:$(NB_DIR)/%.md $(EXEC_NB_DIR) $(EXEC_NB_DIR)/skdemo
@# Jupytext will also catch and print execution errors
@# unless a cell is marked with the `raises-exception` tag
jupytext --execute --to ipynb --output $@ $<
Expand All @@ -25,4 +28,3 @@ book: _requirements.installed $(NOTEBOOKS)

clean:
make -C book clean

0 comments on commit a94279d

Please sign in to comment.