-SRC=$(wildcard *.ma)
+SRC=igft.ma
all: $(SRC:%.ma=%.html)
+print: $(SRC:%.ma=%.pdf)
+
+%.pdf: %.html
+ # requires http://torisugari.googlepages.com/commandlineprint2
+ touch $@
+ iceweasel -print file://$$PWD/$< -printmode PDF -printfile ./$@
+
clean:
- rm *.html *.png
+ rm *.html *.png *.mdwn
%.html: %.ma convert.awk preamble.xml postamble.xml
cat preamble.xml > $@