From: Wolfram Schneider Date: Thu, 19 Dec 2013 11:21:33 +0000 (+0000) Subject: keep our copyright when minifying JavaScript using YUIcompressor X-Git-Tag: 0.9.1~3^2~4 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=f31bd27a0d6faa4e6d33044ff6a380603e05296e;p=mkws-moved-to-github.git keep our copyright when minifying JavaScript using YUIcompressor --- diff --git a/tools/htdocs/Makefile b/tools/htdocs/Makefile index d686265..59b301c 100644 --- a/tools/htdocs/Makefile +++ b/tools/htdocs/Makefile @@ -53,7 +53,7 @@ mkws-js ${MKWS_JS}: Makefile mkws.js ${JQUERY_JSON_FILE} ${JQUERY_FILE} ${HANDLE echo ""; \ exit 1; \ fi - ( echo "/* Copyright (c) 2013 IndexData ApS. http://indexdata.com"; \ + ( 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+,,')"; \ diff --git a/tools/htdocs/mkws.js b/tools/htdocs/mkws.js index cb3e973..e32f61c 100644 --- a/tools/htdocs/mkws.js +++ b/tools/htdocs/mkws.js @@ -1,4 +1,4 @@ -/* MKWS, the MasterKey Widget Set. Copyright (C) 2013, Index Data */ +/*! MKWS, the MasterKey Widget Set. Copyright (C) 2013, Index Data */ "use strict"; // HTML5: disable for debug_level >= 2