SVGFILES = \ 100-intro/intro.svg \ 200-guestfish/disk.svg \ 300-python/python.svg \ 400-df/df.svg \ 600-resize/alignment.svg \ 700-rhel6.3/rhel6.3.svg \ 100-intro/notes.svg PSFILES = $(SVGFILES:.svg=.ps) handout.pdf: $(PSFILES) rm -f $@ gs -dNOPAUSE -dBATCH \ -sDEVICE=pdfwrite -sOUTPUTFILE=$@-t -sPAPERSIZE=a4 \ $^ mv $@-t $@ %.ps: %.svg inkscape -z --export-ps=$@ $^