newline in help text
[mkws-moved-to-github.git] / Makefile
index b3e4fab..9e91192 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,11 @@
 # Copyright (c) 2013-2014 IndexData ApS. http://indexdata.com
 
 all:
-       ${MAKE} -C./src $@
-       ${MAKE} -C./doc $@
+       ${MAKE} -C./tools/htdocs $@
+       ${MAKE} -C./doc install
 
 clean distclean:
-       ${MAKE} -C./src $@
+       ${MAKE} -C./tools/htdocs $@
        ${MAKE} -C./doc $@
        ${MAKE} -C./examples/htdocs $@
        ${MAKE} -C./test $@
@@ -13,18 +13,19 @@ clean distclean:
 check-js:
        ${MAKE} -C./test check
 
-phantomjs:
+phantomjs p p-all phantomjs-all jsb:
        ${MAKE} -C./test $@
 
 # must be called once after GIT checkout
-setup: 
-#why?  ${MAKE} -C./tools/htdocs mkws-js-min
-       ${MAKE} -C./examples/htdocs jasmine-links
+setup:
        ${MAKE} -C./test node-modules
+       ${MAKE} all
 
-check: setup check-js
+check: setup check-js phantomjs
 
 help:
        @echo "make [ all | setup | clean | distclean ]"
        @echo "     [ check | check-js | phantomjs ]"
+       @echo ""
+       @echo "If 'make check' timeout is too short, extend with: make check PHANTOMJS_TIMEOUT=40"