From: Wolfram Schneider Date: Tue, 23 Sep 2014 12:19:24 +0000 (+0000) Subject: do not fail if yui-compressor is not installed X-Git-Tag: 1.0.0~324^2~12 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=f8c826608ce2e91f200caa4e67da0edee8a783bf;p=mkws-moved-to-github.git do not fail if yui-compressor is not installed e.g. on a devel MacOS machine. Instead, a dummy wrapper will be used and display a warning. --- diff --git a/tools/htdocs/Makefile b/tools/htdocs/Makefile index 4c81aa1..b561e92 100644 --- a/tools/htdocs/Makefile +++ b/tools/htdocs/Makefile @@ -16,7 +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 +YUI_COMPRESSOR= $(shell which yui-compressor ../../test/bin/yui-compressor | head -1) COMPONENTS = ${SRC}/mkws-handlebars.js \ ${SRC}/mkws-core.js \