eulerbooks/Makefile

15 lines
219 B
Makefile
Raw Normal View History

.PHONY: all clean
2025-04-11 02:36:31 +00:00
HTMLS = $(patsubst %.ipynb,html/%.html,$(wildcard *.ipynb))
all: $(HTMLS)
clean:
rm -r html
html/%.html: %.ipynb | html
jupyter nbconvert --to html $< --output $@ --execute
html:
mkdir -p html