${MAKE} -C./test $@
# must be called once after GIT checkout
-setup: all
+setup:
${MAKE} -C./test node-modules
+ ${MAKE} all
check: setup check-js phantomjs
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
COMPONENTS = ${SRC}/mkws-handlebars.js \
${SRC}/mkws-core.js \
chmod 444 $@
mkws-templates.js:
- handlebars -n mkws.defaultTemplates ${SRC}/*.templates/*.handlebars -f ${SRC}/mkws-templates.js
+ ${HANDLEBARS} -n mkws.defaultTemplates ${SRC}/*.templates/*.handlebars -f ${SRC}/mkws-templates.js
mkws-html-includes:
echo $(COMPONENTS) | perl -npe "s,${SRC},,g; s/\s+/\0/g" | \