blob: a48d0233a541a3233d0daeb12e29ccfb6b8158a8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
MD = $(basename $(wildcard *.md))
test: $(addsuffix .tex, $(MD)) $(addsuffix .pdf, $(MD))
%.pdf: %.tex
pdflatex -interaction batchmode -halt-on-error $<
PD = \
-f markdown -t latex
%.tex: %.md ../fripost-%.latex
pandoc $(PD) --template=../fripost-$* < $< > $@
clean:
rm -f *.aux *.hd *.log *.out *.pdf *.tex
rm -f *~
|