summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 3bf6fb7..254b955 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-docs = echo.md tutorial.md fable-arch.md
+docs = echo.md tutorial.md fable-arch.md jt.md
outputs = $(docs:.md=.pdf) $(docs:.md=.html)
.SUFFIXES: .md .pdf .html
@@ -10,7 +10,9 @@ publish:
install -m 0644 $(outputs) files
.md.pdf:
- ./pandoc.sh $< -o $@
+ ./ftt-docgen $$(basename $< .md).yaml $< > tmp.md
+ ./pandoc.sh tmp.md -o $@
+ rm -f tmp.md
.md.html:
./pandoc.sh $< -o $@