use handlebars program from node modules checkout
[mkws-moved-to-github.git] / Makefile
1 # Copyright (c) 2013-2014 IndexData ApS. http://indexdata.com
2
3 all:
4         ${MAKE} -C./tools/htdocs $@
5         ${MAKE} -C./doc install
6
7 clean distclean:
8         ${MAKE} -C./tools/htdocs $@
9         ${MAKE} -C./doc $@
10         ${MAKE} -C./examples/htdocs $@
11         ${MAKE} -C./test $@
12
13 check-js:
14         ${MAKE} -C./test check
15
16 phantomjs p p-all phantomjs-all jsb:
17         ${MAKE} -C./test $@
18
19 # must be called once after GIT checkout
20 setup:
21         ${MAKE} -C./test node-modules
22         ${MAKE} all
23
24 check: setup check-js phantomjs
25
26 help:
27         @echo "make [ all | setup | clean | distclean ]"
28         @echo "     [ check | check-js | phantomjs ]"
29         @echo "If 'make check' timeout is too short, extend with: make check PHANTOMJS_TIMEOUT=40"
30