diff --git a/make-includes/standard_rules.make b/make-includes/standard_rules.make index 0e7a956..0129ccd 100755 --- a/make-includes/standard_rules.make +++ b/make-includes/standard_rules.make @@ -107,11 +107,11 @@ # mechanism. # %.pdf %-print.pdf: %.svg - inkscape --file=$< --export-text-to-path --without-gui --export-pdf=$*-tmp.pdf - pdfcrop $*-tmp.pdf $@ - -rm -f $*-tmp.pdf + inkscape --file=$< --export-text-to-path --without-gui --export-pdf=$(IMGDIR)/$*-tmp.pdf + pdfcrop $(IMGDIR)/$*-tmp.pdf $(IMGDIR)/$@ + -rm -f $(IMGDIR)/$*-tmp.pdf # # PNG from SVG (via Inkscape) # %.png %-print.png %-web.png: %.svg - inkscape --file=$< --without-gui --export-area-drawing --export-background-opacity=1.0 --export-dpi=96 --export-png=$@ + inkscape --file=$< --without-gui --export-area-drawing --export-background-opacity=1.0 --export-dpi=96 --export-png=$(IMGDIR)/$@