X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=blobdiff_plain;f=Makefile;h=f58f93f70c274f0524d3cd325cec73984c163e55;hp=26c0ca4e28f29c4dcb2c451b98786e8c499c25b2;hb=bef565b4c30db8d0b6f3bb6459402b4dae718921;hpb=a068570888ee5ada50611617c2e0d2428909fb0c diff --git a/Makefile b/Makefile index 26c0ca4..f58f93f 100644 --- a/Makefile +++ b/Makefile @@ -1,15 +1,27 @@ -# Copyright (c) 2013 IndexData ApS. http://indexdata.com +# Copyright (c) 2013-2014 IndexData ApS. http://indexdata.com -**default**: - (cd tools/htdocs; $(MAKE)) +all: + ${MAKE} -C./tools/htdocs $@ -clean distclean all pz2api-git-checkout: +clean distclean: ${MAKE} -C./tools/htdocs $@ + ${MAKE} -C./examples/htdocs $@ + ${MAKE} -C./test $@ check-js: ${MAKE} -C./test check +phantomjs: + ${MAKE} -C./test $@ + +# must be called once after GIT checkout +setup: + ${MAKE} -C./tools/htdocs mkws-js-min + ${MAKE} -C./examples/htdocs jasmine-links + ${MAKE} -C./test node-modules -check: distclean all +check: setup check-js help: - @echo "make [ all | clean | pz2api-git-checkout | check-js ]" + @echo "make [ all | setup | clean | distclean ]" + @echo " [ check | check-js | phantomjs ]" +