diff options
author | Lars Wirzenius <liw@liw.fi> | 2019-06-05 12:02:55 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2019-06-05 12:02:55 +0300 |
commit | a1ff79bc4ae215d111ac5716c96517daeb806c22 (patch) | |
tree | cd0dff837ba86fa9893dc2cac95789cfc115c12b /Makefile | |
parent | 41ceb40315cc2dbc20bd2cb3fc05f4041b6cbb18 (diff) | |
download | fable-poc-a1ff79bc4ae215d111ac5716c96517daeb806c22.tar.gz |
Change: build and publish HTML versions of documents
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -1,10 +1,16 @@ -.SUFFIXES: .md .pdf +docs = echo.md tutorial.md fable-arch.md +outputs = $(docs:.md=.pdf) $(docs:.md=.html) -all: echo.pdf tutorial.pdf fable-arch.pdf +.SUFFIXES: .md .pdf .html + +all: $(outputs) publish: install -d files - install -m 0644 *.pdf files + install -m 0644 $(outputs) files .md.pdf: ./pandoc.sh $< -o $@ + +.md.html: + ./pandoc.sh $< -o $@ |