From f8c826608ce2e91f200caa4e67da0edee8a783bf Mon Sep 17 00:00:00 2001 From: Wolfram Schneider Date: Tue, 23 Sep 2014 12:19:24 +0000 Subject: [PATCH] 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. --- tools/htdocs/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 \ -- 1.7.10.4