X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=tools%2Fhtdocs%2FMakefile;h=3099c245237a9aa95bfe2cd6ff5e8715f41d6583;hb=6fe33fcb5cd87943c27fd77c582a4e8cbe21a031;hp=7b4fbe2129aeb5de4149be9747ac557244ed2790;hpb=53319f6a7c43dd4291c3b80fed561060d35e6f72;p=mkws-moved-to-github.git diff --git a/tools/htdocs/Makefile b/tools/htdocs/Makefile index 7b4fbe2..3099c24 100644 --- a/tools/htdocs/Makefile +++ b/tools/htdocs/Makefile @@ -1,5 +1,5 @@ ###################################################################### -# Copyright (c) 2013 IndexData ApS. http://indexdata.com +# Copyright (c) 2013-2014 IndexData ApS. http://indexdata.com # ############################## @@ -72,6 +72,9 @@ mkws-js-min: mkws.min.js mkws-complete.min.js yui-compressor $? > $@.new mv -f $@.new $@ +mkws-syntax-check: + yui-compressor mkws.js >/dev/null + ${JQUERY_FILE}: curl -sSf ${JQUERY_URL} -o $@.new perl -npe 's,sourceMappingURL=jquery.*map,,' $@.new > $@ @@ -132,6 +135,7 @@ clean: help: @echo "make [ help | docs | clean ]" @echo " [ mkws-js | mkws-js-min ]" + @echo " [ mkws-syntax-check ]" @echo "" @echo "make JQUERY_URL=http://code.jquery.com/jquery-2.0.3.min.js clean mkws-js" @echo ""