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.pdf: ./ftt-docgen --pdf $< > $@ .md.html: ./ftt-docgen --html $< > $@ -- -H fable-doc.css