From: Jason Skomorowski Date: Mon, 4 Aug 2014 15:15:46 +0000 (-0400) Subject: Merge branch 'master' into templateallthemarkup X-Git-Tag: 1.0.0~324^2~49 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=403652c2b7e7c5ca39d21a2d8e35151e12bdd9a0;p=mkws-moved-to-github.git Merge branch 'master' into templateallthemarkup Conflicts: examples/htdocs/jasmine-local-popup.html tools/htdocs/Makefile --- 403652c2b7e7c5ca39d21a2d8e35151e12bdd9a0 diff --cc examples/htdocs/jasmine-local-popup.html index e5792e0,d5758b3..cde7ac2 --- a/examples/htdocs/jasmine-local-popup.html +++ b/examples/htdocs/jasmine-local-popup.html @@@ -19,11 -21,11 +21,12 @@@ + + - - + + diff --cc tools/htdocs/Makefile index 02d64f8,420bb49..c62af37 --- a/tools/htdocs/Makefile +++ b/tools/htdocs/Makefile @@@ -16,14 -16,22 +16,23 @@@ JQUERY_UI_URL = http://code.jquery.com/ VERSION = $(shell tr -d '\012' < ${SRC}/VERSION) COMPONENTS = ${SRC}/mkws-handlebars.js \ - ${SRC}/mkws-core.js ${SRC}/mkws-team.js ${SRC}/mkws-filter.js \ + ${SRC}/mkws-core.js \ + ${SRC}/mkws-team.js \ + ${SRC}/mkws-filter.js \ + ${SRC}/mkws-templates.js \ - ${SRC}/mkws-widget.js ${SRC}/mkws-widget-main.js ${SRC}/mkws-widget-termlists.js \ - ${SRC}/mkws-widget-authname.js ${SRC}/mkws-widget-categories.js ${SRC}/mkws-widget-log.js \ - ${SRC}/mkws-widget-record.js ${SRC}/mkws-widget-reference.js ${SRC}/mkws-widget-builder.js + ${SRC}/mkws-popup.js \ + ${SRC}/mkws-widget.js \ + ${SRC}/mkws-widget-main.js \ + ${SRC}/mkws-widget-termlists.js \ + ${SRC}/mkws-widget-authname.js \ + ${SRC}/mkws-widget-categories.js \ + ${SRC}/mkws-widget-log.js \ + ${SRC}/mkws-widget-record.js \ + ${SRC}/mkws-widget-reference.js \ + ${SRC}/mkws-widget-builder.js GENERATED = ${HANDLEBARS_FILE} ${JQUERY_FILE} ${JQUERY_JSON_FILE} ${PP2_FILE} \ - mkws.js mkws.min.js mkws-complete.js mkws-complete.min.js + mkws.js mkws.min.js mkws-complete.js mkws-complete.min.js mkws-templates.js **make-default**: all @@@ -88,9 -95,10 +96,13 @@@ mkws.js: mkws-templates.js $(COMPONENTS mv -f $@.tmp $@ chmod 444 $@ +mkws-templates.js: + handlebars -n mkws.defaultTemplates ${SRC}/*.templates/*.handlebars -f ${SRC}/mkws-templates.js + + mkws-html-includes: + echo $(COMPONENTS) | perl -npe "s,${SRC},,g; s/\s+/\0/g" | \ + perl -n0e 'chomp(); print qq{ \n}' + distclean: clean @echo "(No need for distclean, 'make clean' is fine)"