Generated mkws-complete.js now includes mkws-jquery.js
authorMike Taylor <mike@indexdata.com>
Tue, 25 Mar 2014 16:16:47 +0000 (16:16 +0000)
committerMike Taylor <mike@indexdata.com>
Tue, 25 Mar 2014 16:16:47 +0000 (16:16 +0000)
src/Makefile

index 42906f2..a0d8165 100644 (file)
@@ -19,7 +19,7 @@ PP2_FILE = pz2.js
 
 all: ${MKWS_JS} mkws-js-min
 
-mkws-js ${MKWS_JS}: Makefile mkws.js ${JQUERY_FILE} ${JQUERY_JSON_FILE} ${HANDLEBARS_FILE} ${PP2_FILE}
+mkws-js ${MKWS_JS}: Makefile mkws.js mkws-jquery.js ${JQUERY_FILE} ${JQUERY_JSON_FILE} ${HANDLEBARS_FILE} ${PP2_FILE}
        ( set -e; \
          echo "/*! Copyright (c) 2013-2014 IndexData ApS. http://indexdata.com"; \
          echo "   Licence: GPL, http://www.indexdata.com/licences/gpl"; \
@@ -32,6 +32,7 @@ mkws-js ${MKWS_JS}: Makefile mkws.js ${JQUERY_FILE} ${JQUERY_JSON_FILE} ${HANDLE
          cat ${HANDLEBARS_FILE}; \
          cat ${PP2_FILE}; \
          cat  mkws.js; \
+         cat  mkws-jquery.js; \
        ) > ${MKWS_JS}.new
        mv -f ${MKWS_JS}.new ${MKWS_JS}