diff --git a/make-includes/standard_rules.make b/make-includes/standard_rules.make index 8d2cf43..258c777 100755 --- a/make-includes/standard_rules.make +++ b/make-includes/standard_rules.make @@ -98,7 +98,7 @@ # %.pdf %-print.pdf: %.R R --slave --file=$< --args "$(IMGDIR)/$@" - pdfcrop $(IMGDIR)/$@ + pdfcrop $(IMGDIR)/$@ $(IMGDIR)/$*-crop.pdf -mv $(IMGDIR)/$*-crop.pdf $(IMGDIR)/$@ # # PDF from PS @@ -118,7 +118,7 @@ # %.pdf %-print.pdf: %.svg inkscape --file=$< --without-gui --export-pdf=$(IMGDIR)/$@ - pdfcrop $(IMGDIR)/$@ + pdfcrop $(IMGDIR)/$@ $(IMGDIR)/$*-crop.pdf -mv $(IMGDIR)/$*-crop.pdf $(IMGDIR)/$@ # # PNG from SVG (via Inkscape)