summaryrefslogtreecommitdiff
path: root/Makefile
blob: a6a4da4944dcbf84a726ce490ff381c6eb4495a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
docs = echo.md tutorial.md fable-arch.md jt.md muck.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.pdf:
	PATH=".:$$PATH" ./ftt-docgen --pdf $<

.md.html:
	PATH=".:$$PATH" ./ftt-docgen --html $< --  -H fable-doc.css