X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2FMakefile;h=120bab6ca51fb4aaabcb3923057f11d2c4f81e3f;hb=8d1d4b22649401af52cfc1f1ba65d9627a149b15;hp=9c1fa79e6c5fa7a54a12e4ce7cd3bac2b9a77229;hpb=0d0bbacd894c110becc4ee46a17b43ce59f26a61;p=mkws-moved-to-github.git diff --git a/src/Makefile b/src/Makefile index 9c1fa79..120bab6 100644 --- 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 -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 \ @@ -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 -AVAILABLE = $(DOWNLOADABLE) $(RELEASABLE) mkws-jquery.js NEWS VERSION +AVAILABLE = $(DOWNLOADABLE) $(RELEASABLE) NEWS VERSION INSTALLED_DOWNLOADABLE = $(DOWNLOADABLE:%=$(DEST)/%) INSTALLED_RELEASABLE = $(RELEASABLE:%=$(DEST)/%) INSTALLED = $(AVAILABLE:%=$(DEST)/%) @@ -114,5 +114,10 @@ html-includes: perl -n0e 'chomp(); print qq{ \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 ""