X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=blobdiff_plain;f=Makefile;h=a105790a5a7ff436deaecfc174abef260d100fdb;hp=8d7314554f09bbbec7a45420034d6ff4c3852a6b;hb=a914309eea04e44fe857d2b36728bfe90d8f63a9;hpb=450ecc96e4916e5960eb5400a5d0315ebfd070c4 diff --git a/Makefile b/Makefile index 8d73145..a105790 100644 --- a/Makefile +++ b/Makefile @@ -3,10 +3,10 @@ # You need node.js to build MKWS. On caliban, get it using: # export PATH=$PATH:/home/indexdata/node/node-v0.10.32-linux-x64/bin -all: - ${MAKE} -C./test node-modules +all: setup ${MAKE} -C./src ${MAKE} -C./doc + ${MAKE} -C./examples/htdocs clean distclean: ${MAKE} -C./src $@ @@ -14,21 +14,20 @@ clean distclean: ${MAKE} -C./examples/htdocs $@ ${MAKE} -C./test $@ -check-js: - ${MAKE} -C./test check - -phantomjs p p-all phantomjs-all jsb: - ${MAKE} -C./test $@ +check: setup check-js phantomjs -# must be called once after GIT checkout setup: ${MAKE} -C./test node-modules -check: setup check-js phantomjs +check-js: + ${MAKE} -C./test $@ + +phantomjs p p-all phantomjs-all jsb: + ${MAKE} -C./test $@ 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" + @echo "If 'make check' timeout is too short, extend with: make check PHANTOMJS_TIMEOUT=120"