X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=blobdiff_plain;f=Makefile;h=4bb0cc21cbf875f93157a86dbb94355231436a61;hp=743fcbb3da42091504e87035ecfe1d6042cc45d0;hb=7969d3285f1c7b29c5f835044f0235691910a561;hpb=53dc53783dfabd95a00a1a06472fe0982fa4ebf0 diff --git a/Makefile b/Makefile index 743fcbb..4bb0cc2 100644 --- a/Makefile +++ b/Makefile @@ -1,24 +1,28 @@ # Copyright (c) 2013-2014 IndexData ApS. http://indexdata.com -all clean distclean: - ${MAKE} -C./tools/htdocs $@ +all: + ${MAKE} -C./src $@ + ${MAKE} -C./doc $@ + +clean distclean: + ${MAKE} -C./src $@ + ${MAKE} -C./doc $@ ${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 +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 phantomjs help: @echo "make [ all | setup | clean | distclean ]" - @echo " [ pz2api-git-checkout | check-js ]" + @echo " [ check | check-js | phantomjs ]"