summaryrefslogtreecommitdiff
path: root/paper/lua-filters/table-short-captions/Makefile
blob: 3df47b1019db5d24c23d95203ebcb993f02b7e15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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