X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=blobdiff_plain;f=Makefile;h=add287959e930bca7b3d0a617dc73d2cdceca4e0;hp=362f874b51625e914f8435c9e1e0ea5f3a791aac;hb=0cbf56a5b0676d4adea770e9f50c1d7b0d72ae86;hpb=b9afacc19f8a204820638257807ba837113536cf diff --git a/Makefile b/Makefile index 362f874..add2879 100644 --- a/Makefile +++ b/Makefile @@ -1,22 +1,28 @@ # Copyright (c) 2013-2014 IndexData ApS. http://indexdata.com -all clean: +all: ${MAKE} -C./tools/htdocs $@ - ${MAKE} -C./examples/htdocs $@ + ${MAKE} -C./doc install -pz2api-git-checkout distclean: +clean distclean: ${MAKE} -C./tools/htdocs $@ + ${MAKE} -C./doc $@ + ${MAKE} -C./examples/htdocs $@ + ${MAKE} -C./test $@ check-js: ${MAKE} -C./test check -setup: pz2api-git-checkout - ${MAKE} -C./tools/htdocs mkws-js-min - ${MAKE} -C./examples/htdocs jasmine-links +phantomjs p p-all jsb: + ${MAKE} -C./test $@ + +# must be called once after GIT checkout +setup: + ${MAKE} -C./test node-modules -check: distclean all +check: setup check-js phantomjs help: - @echo "make [ all | setup | clean ]" - @echo " [ pz2api-git-checkout | check-js ]" + @echo "make [ all | setup | clean | distclean ]" + @echo " [ check | check-js | phantomjs ]"