Fix some XML well-formedness errors.
[mkws-moved-to-github.git] / Makefile
1 # Copyright (c) 2013-2014 Index Data ApS. http://indexdata.com
2 #
3 # You need node.js to build MKWS. On caliban, get it using:
4 # export PATH=$PATH:/home/indexdata/node/node-v0.10.32-linux-x64/bin
5
6 all: setup
7         ${MAKE} -C./test node-modules
8         ${MAKE} -C./tools/htdocs $@
9         ${MAKE} -C./doc install
10
11 clean distclean:
12         ${MAKE} -C./tools/htdocs $@
13         ${MAKE} -C./doc $@
14         ${MAKE} -C./examples/htdocs $@
15         ${MAKE} -C./test $@
16
17 check-js:
18         ${MAKE} -C./test check
19
20 phantomjs p p-all phantomjs-all jsb:
21         ${MAKE} -C./test $@
22
23 # must be called once after GIT checkout
24 setup:
25         ${MAKE} -C./test node-modules
26
27 check: setup check-js phantomjs
28
29 help:
30         @echo "make [ all | setup | clean | distclean ]"
31         @echo "     [ check | check-js | phantomjs ]"
32         @echo ""
33         @echo "If 'make check' timeout is too short, extend with: make check PHANTOMJS_TIMEOUT=40"
34