projects
/
mkws-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mkws testing on MacOS 10.10, MKWS-332
[mkws-moved-to-github.git]
/
src
/
Makefile
diff --git
a/src/Makefile
b/src/Makefile
index
b61d34c
..
51f399e
100644
(file)
--- a/
src/Makefile
+++ b/
src/Makefile
@@
-14,7
+14,7
@@
PP2_URL = http://git.indexdata.com/?p=pazpar2.git;a=blob_plain;f=js/${PP2_FILE};
VERSION = $(shell tr -d '\012' < VERSION)
HANDLEBARS = ../test/node_modules/.bin/handlebars
VERSION = $(shell tr -d '\012' < VERSION)
HANDLEBARS = ../test/node_modules/.bin/handlebars
-YUI_COMPRESSOR = $(shell which yui-compressor ../../test/bin/yui-compressor | head -1)
+YUI_COMPRESSOR = $(shell which yui-compressor ../test/bin/yui-compressor | head -1)
COMPONENTS = mkws-handlebars.js \
mkws-core.js \
COMPONENTS = mkws-handlebars.js \
mkws-core.js \
@@
-22,7
+22,7
@@
COMPONENTS = mkws-handlebars.js \
mkws-filter.js \
mkws-widget.js \
mkws-widget-main.js \
mkws-filter.js \
mkws-widget.js \
mkws-widget-main.js \
- mkws-widget-termlists.js \
+ mkws-widget-facets.js \
mkws-widget-authname.js \
mkws-widget-categories.js \
mkws-widget-log.js \
mkws-widget-authname.js \
mkws-widget-categories.js \
mkws-widget-log.js \
@@
-34,7
+34,7
@@
COMPONENTS = mkws-handlebars.js \
DOWNLOADABLE = ${HANDLEBARS_FILE} ${JQUERY_FILE} ${JQUERY_JSON_FILE} ${PP2_FILE}
RELEASABLE = mkws.js mkws.min.js mkws-complete.js mkws-complete.min.js
DOWNLOADABLE = ${HANDLEBARS_FILE} ${JQUERY_FILE} ${JQUERY_JSON_FILE} ${PP2_FILE}
RELEASABLE = mkws.js mkws.min.js mkws-complete.js mkws-complete.min.js
-AVAILABLE = $(DOWNLOADABLE) $(RELEASABLE) mkws-jquery.js
+AVAILABLE = $(DOWNLOADABLE) $(RELEASABLE) NEWS VERSION
INSTALLED_DOWNLOADABLE = $(DOWNLOADABLE:%=$(DEST)/%)
INSTALLED_RELEASABLE = $(RELEASABLE:%=$(DEST)/%)
INSTALLED = $(AVAILABLE:%=$(DEST)/%)
INSTALLED_DOWNLOADABLE = $(DOWNLOADABLE:%=$(DEST)/%)
INSTALLED_RELEASABLE = $(RELEASABLE:%=$(DEST)/%)
INSTALLED = $(AVAILABLE:%=$(DEST)/%)
@@
-100,8
+100,8
@@
$(DEST)/mkws.js: $(COMPONENTS) Makefile
mv -f $@.tmp $@
chmod 444 $@
mv -f $@.tmp $@
chmod 444 $@
-mkws-templates.js: *.templates/*.handlebars
- ${HANDLEBARS} -n mkws.defaultTemplates *.templates/*.handlebars -f $@.tmp
+mkws-templates.js: templates/*.handlebars
+ ${HANDLEBARS} -n mkws.defaultTemplates templates/*.handlebars -f $@.tmp
mv -f $@.tmp $@
# Checks that the JavaScript can be parsed
mv -f $@.tmp $@
# Checks that the JavaScript can be parsed
@@
-114,5
+114,10
@@
html-includes:
perl -n0e 'chomp(); print qq{ <script type="text/javascript" src="src/$$_"></script>\n}'
clean distclean:
perl -n0e 'chomp(); print qq{ <script type="text/javascript" src="src/$$_"></script>\n}'
clean distclean:
- rm -f ${INSTALLED}
+ rm -f ${INSTALLED} mkws-templates.js
+help:
+ @echo "make [ all | clean | release ]"
+ @echo " [ syntax-check | html-includes ]"
+ @echo " [ mkws-templates.js | $(DEST)/mkws-complete.min.js ]"
+ @echo ""