3 all: $(SRC:%.ma=%.html)
5 print: $(SRC:%.ma=%.pdf)
8 # requires http://torisugari.googlepages.com/commandlineprint2
9 iceweasel -print $< -printmode pdf -printfile ./$@
12 rm *.html *.png *.mdwn
14 %.html: %.ma convert.awk preamble.xml postamble.xml
16 awk -f convert.awk < $< > $*.mdwn
17 markdown < $*.mdwn >> $@
18 cat postamble.xml >> $@