From: Wolfram Schneider Date: Tue, 23 Sep 2014 12:14:49 +0000 (+0000) Subject: configurable yui-compressor program name X-Git-Tag: 1.0.0~324^2~13 X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=commitdiff_plain;h=2f639fcdb8394cce4a5d6d48dd262db3db1a6788 configurable yui-compressor program name --- diff --git a/tools/htdocs/Makefile b/tools/htdocs/Makefile index db7c2a6..4c81aa1 100644 --- a/tools/htdocs/Makefile +++ b/tools/htdocs/Makefile @@ -16,6 +16,7 @@ JQUERY_UI_URL = http://code.jquery.com/ui/1.10.3/jquery-ui.js VERSION = $(shell tr -d '\012' < ${SRC}/VERSION) #HANDLEBARS=handlebars HANDLEBARS=../../test/node_modules/.bin/handlebars +YUI_COMPRESSOR=yui-compressor COMPONENTS = ${SRC}/mkws-handlebars.js \ ${SRC}/mkws-core.js \ @@ -58,11 +59,11 @@ mkws-js mkws-complete.js: Makefile mkws.js ${HANDLEBARS_FILE} ${JQUERY_FILE} ${J mv -f mkws-complete.js.tmp mkws-complete.js %.min.js: %.js - yui-compressor $? > $@.tmp + ${YUI_COMPRESSOR} $? > $@.tmp mv -f $@.tmp $@ mkws-syntax-check: - yui-compressor mkws.js >/dev/null + ${YUI_COMPRESSOR} mkws.js >/dev/null ${HANDLEBARS_FILE}: curl -sSf ${HANDLEBARS_URL} -o $@.tmp