chiark / gitweb /
kennocht's sigil
[the-pointy-bits.git] / Makefile
1
2 i= mv .tmp.$@ $@
3
4 SHELL=/bin/bash
5
6 CHARACTERS=kennocht fabricia
7
8 all:    $(addprefix check-, $(CHARACTERS)) \
9         $(addsuffix .pdf, $(CHARACTERS)) \
10         
11
12 %.pdf:          %.md Makefile
13         pandoc -Vmargin-{top,left,right,bottom}=20mm -t latex -o .tmp.$@ $< && $i
14
15 check-%:        %.md Makefile total-checker
16                 ./total-checker $<
17
18 upload: $(addsuffix .pdf, $(CHARACTERS))
19         rsync -vP $^ c:public-html/the-pointy-bits/characters/.