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 | b409134a449501ac69741aa600996ff2f312510d (patch) | |
tree | 5b8932178b6260302a8eff5f52c5d012cc49c4d9 | |
parent | 355de4027500bc4a94ef63da690b23b336102147 (diff) |
turn rsvg-convert and pngcrush into variables
-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) $@.$$$$ ################################################################################ |