all: mapping.html mapping.pdf mapping.html images = figure-01.png mapping.html: $(images) mapping.pdf: $(images) %.html: %.rst rst2html $< $@ %.pdf: %.rst rst2pdf --footer='-###Page###-' $< -o $@ %.png: %.svg inkscape -z -e $@ -w 800 $< figure-01.svg: figure-01.diag blockdiag -Tsvg $<