diff --git a/make-includes/standard_rules.make b/make-includes/standard_rules.make index ebb35e7..9a49f78 100755 --- a/make-includes/standard_rules.make +++ b/make-includes/standard_rules.make @@ -175,7 +175,14 @@ %-web-zoom.png: %.svg $(INKSCAPE) --file=$< --without-gui --export-area-drawing --export-background-opacity=1.0 --export-dpi=144 --export-png=$(IMGDIR)/$@ # -# PNG from PNG (change the name) +# PNG from PNG (change the name). +# These appear to need to be separate rules. If both variants need to be +# created (i.e., both %-web.png and %-print.png), it only generates one of +# them (most likely %-web.png as it's first in the rule) if the rules are +# combined into one. This is Kind of Weird. # -%-web.png %-print.png: %.png +%-print.png: %.png + $(CP) $< $(IMGDIR)/$@ + +%-web.png: %.png $(CP) $< $(IMGDIR)/$@