projects
/
mkws-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f639fc
)
do not fail if yui-compressor is not installed
author
Wolfram Schneider
<wosch@indexdata.dk>
Tue, 23 Sep 2014 12:19:24 +0000
(12:19 +0000)
committer
Wolfram Schneider
<wosch@indexdata.dk>
Tue, 23 Sep 2014 12:19:24 +0000
(12:19 +0000)
e.g. on a devel MacOS machine. Instead, a dummy wrapper will
be used and display a warning.
tools/htdocs/Makefile
patch
|
blob
|
history
diff --git
a/tools/htdocs/Makefile
b/tools/htdocs/Makefile
index
4c81aa1
..
b561e92
100644
(file)
--- 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 \