-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 *.mdwn