X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=blobdiff_plain;f=Makefile;h=cb4d8f6011faaadaeb6c64be84a3cd41a29ac4ba;hp=8d7314554f09bbbec7a45420034d6ff4c3852a6b;hb=c2aca77666ae3298394daf899ca72052f33d6b9b;hpb=450ecc96e4916e5960eb5400a5d0315ebfd070c4 diff --git a/Makefile b/Makefile index 8d73145..cb4d8f6 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,17 +14,16 @@ 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 ]"