X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=blobdiff_plain;f=Makefile;h=e37daa0cffd052df3f3a60ca11658f6786595048;hp=4fe1fe598e5f1028c7203309b2da8e8cdf68af44;hb=6acb2a89222c90a55a9e051a386450452f1873cf;hpb=abd9291860448d941f324ad48a2eb08b0cce2a06 diff --git a/Makefile b/Makefile index 4fe1fe5..e37daa0 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,29 @@ -# 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./src $@ + ${MAKE} -C./doc $@ + +clean distclean: + ${MAKE} -C./src $@ + ${MAKE} -C./doc $@ + ${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: +#why? ${MAKE} -C./tools/htdocs mkws-js-min + ${MAKE} -C./test node-modules + +check: setup check-js help: - @echo "make [ all | clean ]" + @echo "make [ all | setup | clean | distclean ]" + @echo " [ check | check-js | phantomjs ]" +