fix makefile warnings
[mkws-moved-to-github.git] / Makefile
index 4fe1fe5..743fcbb 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,24 @@
-# Copyright (c) 2013 IndexData ApS. http://indexdata.com
+# Copyright (c) 2013-2014 IndexData ApS. http://indexdata.com
 
-**default**:
-       (cd tools/htdocs; $(MAKE))
+all clean distclean:
+       ${MAKE} -C./tools/htdocs $@
+       ${MAKE} -C./examples/htdocs $@
+       ${MAKE} -C./test $@
+
+pz2api-git-checkout:
+       ${MAKE} -C./tools/htdocs $@
+
+check-js:
+       ${MAKE} -C./test check
+
+setup: pz2api-git-checkout
+       ${MAKE} -C./tools/htdocs mkws-js-min
+       ${MAKE} -C./examples/htdocs jasmine-links
+       ${MAKE} -C./test node-modules
+
+check: distclean all
 
 help:
-       @echo "make [ all | clean ]"
+       @echo "make [ all | setup | clean | distclean ]"
+       @echo "     [ pz2api-git-checkout | check-js ]"
+