diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2011-11-27 15:24:56 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2011-11-27 15:24:56 -0500 |
commit | 2b3122be7616032cef4be342b19395d0d59b3ff4 (patch) | |
tree | 002513180f512f80976bbc059a796079058540a2 /Makefile | |
parent | 7d6044395bdf9dbd4b06251f5e78c1016937e627 (diff) |
turn rsvg-convert and pngcrush into variables
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -5,6 +5,8 @@ CP = cp PATCH = patch SASS = sass PHP := $(firstword $(call pathsearch,php5) $(call pathsearch,php)) +SVG2PNG = rsvg-convert +PNGCRUSH = $(firstword $(call pathsearch,pngcrush) $(call pathsearch,cp)) default: all @@ -25,7 +27,7 @@ all: .gitignore $(targets) $(PHP) -f $< > $@ %.png: %.svg - rsvg-convert $< > $@.$$$$ && pngcrush $@.$$$$ $@ ; $(RM) $@.$$$$ + $(SVG2PNG) $< > $@.$$$$ && $(PNGCRUSH) $@.$$$$ $@ ; $(RM) $@.$$$$ ################################################################################ |