diff options
Diffstat (limited to 'paper/lua-filters/table-short-captions/Makefile')
-rw-r--r-- | paper/lua-filters/table-short-captions/Makefile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/paper/lua-filters/table-short-captions/Makefile b/paper/lua-filters/table-short-captions/Makefile new file mode 100644 index 0000000..3df47b1 --- /dev/null +++ b/paper/lua-filters/table-short-captions/Makefile @@ -0,0 +1,24 @@ +LF = --lua-filter=table-short-captions.lua +F = -F pandoc-crossref + +test: sample.md + @pandoc -s $(LF) -t native $< | \ + diff -u expected-sample.native - + +test-with-crossref: sample.md + @pandoc -s $(LF) $(F) -t latex $< | \ + diff -u expected-sample.tex - + +README.pdf: README.md + @pandoc $(LF) $(F) $< -o $@ + +sample.tex: sample.md + @pandoc -s $(LF) $(F) -t latex $< -o $@ + +sample.pdf: sample.md + @pandoc -s $(LF) $(F) -t latex $< -o $@ + +clean: + rm -v *.aux *.dvi *.fdb_latexmk *.fls *.log *.lot *.ps *.pdf sample.tex | true + +.PHONY: test test-with-crossref clean |