From 2f639fcdb8394cce4a5d6d48dd262db3db1a6788 Mon Sep 17 00:00:00 2001 From: Wolfram Schneider Date: Tue, 23 Sep 2014 12:14:49 +0000 Subject: [PATCH] configurable yui-compressor program name --- tools/htdocs/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 -- 1.7.10.4