X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=blobdiff_plain;f=Makefile;h=6d6441f4c29f8bf4bf021d3862bb456180a23c5d;hp=9c558051b6607de7969bc5c359df1b1f5803bed8;hb=62d9f6628a30dc7540071108473b0ea94e58a39e;hpb=0d118a9fada6dd3f9f1fcc77063b0cbd5e6823c6 diff --git a/Makefile b/Makefile index 9c55805..6d6441f 100644 --- a/Makefile +++ b/Makefile @@ -1,23 +1,30 @@ # Copyright (c) 2013-2014 IndexData ApS. http://indexdata.com -all clean: +all: ${MAKE} -C./tools/htdocs $@ - ${MAKE} -C./examples/htdocs $@ + ${MAKE} -C./doc $@ -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: + ${MAKE} -C./test $@ + +# must be called once after GIT checkout +setup: ${MAKE} -C./test node-modules -check: distclean all +check: setup check-js + @echo "" + @echo "To run jasmine regression tests, type: make phantomjs" help: - @echo "make [ all | setup | clean ]" - @echo " [ pz2api-git-checkout | check-js ]" + @echo "make [ all | setup | clean | distclean ]" + @echo " [ check | check-js | phantomjs ]"