Skip to content

Commit

Permalink
Fix some bugs in the makefile.
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-matera committed Dec 27, 2019
1 parent cfcc920 commit d006d13
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
SOURCE = $(shell ls notebooks/*/*.py)
NOTEBOOKS = $(SOURCE:.py=.ipynb)
GENERATOR = $(abspath ./tools/gen_questions.py)

all: $(NOTEBOOKS)

%.ipynb %.py:
%.ipynb: %.py $(GENERATOR)
cd $(dir $*); python3 $(GENERATOR) $(notdir $*)

clean:
Expand Down

0 comments on commit d006d13

Please sign in to comment.