X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=tools%2Fhtdocs%2FMakefile;h=89e543e04fdabd5954719e0a525a8efffb9287d1;hb=497d57bb4b4361289eb7688b8bc4115791c03daa;hp=de82dcbb24232f95fbbfcd26841bf6140e7e4ef2;hpb=8494234c5b0b7313368e9f19dbc6847bb7e3e3b8;p=mkws-moved-to-github.git diff --git a/tools/htdocs/Makefile b/tools/htdocs/Makefile index de82dcb..89e543e 100644 --- a/tools/htdocs/Makefile +++ b/tools/htdocs/Makefile @@ -41,7 +41,7 @@ pz2api-git-checkout: ( cd ../../.. && git clone ${PZ2API_GIT} ); \ fi -mkws-js ${MKWS_JS}: mkws.js ${JQUERY_JSON_FILE} ${JQUERY_FILE} ${HANDLEBARS_FILE} +mkws-js ${MKWS_JS}: Makefile mkws.js ${JQUERY_JSON_FILE} ${JQUERY_FILE} ${HANDLEBARS_FILE} @if ! test -e ${PZ2API_JS}; then \ echo "The pazpar2 JS file ${PZ2API_JS} does not exists."; \ echo "Did you checked out the source from the git repo?"; \ @@ -51,7 +51,8 @@ mkws-js ${MKWS_JS}: mkws.js ${JQUERY_JSON_FILE} ${JQUERY_FILE} ${HANDLEBARS_FILE echo ""; \ exit 1; \ fi - ( echo "/* created at: $$(date)"; \ + ( echo "/* Copyright (c) 2013 IndexData ApS. http://indexdata.com"; \ + echo " created at: $$(date)"; \ echo " mkws.js GIT id: $$(git log mkws.js | head -n 1 | perl -npe 's,\S+\s+,,')"; \ echo " $$(basename ${PZ2API_JS}) GIT id: $$(cd $$(dirname ${PZ2API_JS}) && git log $$(basename ${PZ2API_JS}) | head -n 1 | perl -npe 's,\S+\s+,,')"; \ echo "*/"; \ @@ -113,3 +114,4 @@ help: @echo "make JQUERY_URL=http://code.jquery.com/jquery-2.0.3.min.js clean mkws-js" @echo "" @echo "Please check ./README file too!" +