eulerbooks/Makefile

15 lines
390 B
Makefile

.PHONY: all clean
HTMLS = $(addprefix html/,problem0001.html problem0002.html problem0003.html problem0004.html problem0005.html problem0006.html problem0007.html problem0008.html problem0009.html problem0010.html problem0012.html problem0014.html)
all: $(HTMLS)
clean:
rm -r html
html/%.html: %.ipynb | html
jupyter nbconvert --to html $< --output $@ --execute
html:
mkdir -p html