blob: af6a25c3ea81267e9c9d391125b74280610c777d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
docs = echo.md tutorial.md fable-arch.md jt.md
outputs = $(docs:.md=.pdf) $(docs:.md=.html)
.SUFFIXES: .md .pdf .html .tmp
all: $(outputs)
publish:
install -d files
install -m 0644 $(outputs) files
.md.tmp:
./ftt-docgen $< > $@
.tmp.pdf:
./ftt-pandoc $< -o $@
.tmp.html:
./ftt-pandoc $< -o $@ -H fable-doc.css
|