"make all" uses dependency rather than explicit invocation.
[mkws-moved-to-github.git] / Makefile
index 0bb0e95..45b7db5 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -3,8 +3,7 @@
 # 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
@@ -21,7 +20,6 @@ check-js:
 phantomjs p p-all phantomjs-all jsb:
        ${MAKE} -C./test $@
 
-# must be called once after GIT checkout
 setup:
        ${MAKE} -C./test node-modules