OSDN Git Service
(root)
/
joypy
/
Thun.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Make cannot deal with spaces in filenames.
[joypy/Thun.git]
/
docs
/
Makefile
1
#docs := $(wildcard *.ipynb)
2
#docs_html := $(patsubst %.ipynb,%.html,$(docs))
3
4
.PHONY: poop
5
6
7
poop: *.ipynb
8
make "$(patsubst %.ipynb,%.html,$<)"
9
10
%.html : %.ipynb
11
python -m nbconvert --to html $<
12
13
%.md : %.ipynb
14
python -m nbconvert --to markdown $<
15
16
%.rst : %.ipynb
17
python -m nbconvert --to rst $<
18