X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=Makefile;h=3c1dfa64f6c967e7b0b5e05bb97cee43d7a30540;hb=9e3ca1f868ae9bd98adf6450b64a751f407b4d42;hp=5944316f8f89d3d5099fd6ba0f219f374793b5a5;hpb=126b17becbe4bad3d204b7faee25a705ab07b431;p=mkws-moved-to-github.git diff --git a/Makefile b/Makefile index 5944316..3c1dfa6 100644 --- a/Makefile +++ b/Makefile @@ -1,2 +1,30 @@ -**default**: - (cd experiments/spclient; $(MAKE)) +# Copyright (c) 2013-2014 IndexData ApS. http://indexdata.com + +all: + ${MAKE} -C./tools/htdocs $@ + +pz2api-git-checkout: + ${MAKE} -C./tools/htdocs $@ + +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: pz2api-git-checkout + ${MAKE} -C./tools/htdocs mkws-js-min + ${MAKE} -C./examples/htdocs jasmine-links + ${MAKE} -C./test node-modules + +check: setup check-js + +help: + @echo "make [ all | setup | clean | distclean ]" + @echo " [ pz2api-git-checkout | check-js ]" +