diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-06-23 16:44:37 -0600 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-07-14 14:43:10 -0600 |
commit | bfc73c05c1be186d50146027f523f7f577d7affe (patch) | |
tree | 0610ab5aa7c811a77eba0f96fd9e28def314645c /sitestatic/Makefile | |
parent | 66ebed7043371ba52138e42335509116529f928f (diff) |
js makefiles
Diffstat (limited to 'sitestatic/Makefile')
-rw-r--r-- | sitestatic/Makefile | 27 |
1 files changed, 21 insertions, 6 deletions
diff --git a/sitestatic/Makefile b/sitestatic/Makefile index f7499d64..e99e3c96 100644 --- a/sitestatic/Makefile +++ b/sitestatic/Makefile @@ -1,9 +1,24 @@ -jqueryversion=1.4.4 -targets=jquery-$(jqueryversion).js jquery-$(jqueryversion).min.js jquery.tablesorter.min.js +include ../common.mk -all: $(targets) .gitignore +jquery-ver=1.8.3 +bootstrap-ver=2.1.1 +tablesorter-ver=2.7 +targets = \ + bootstrap-typeahead \ + jquery-$(jquery-ver) \ + jquery.tablesorter-$(tablesorter-ver) \ + konami -jquery-$(jqueryversion).js: - wget http://code.jquery.com/$@ +target-files=$(addsuffix .js,$(targets)) $(addsuffix .min.js,$(targets)) +all: $(target-files) +clean: + rm -f -- $(target-files) -include js.mk +bootstrap-typeahead.js: %: $(www)/https/raw.github.com/twitter/bootstrap/v$(bootstrap-ver)/js/% + cp $< $@ +jquery-$(jquery-ver).js: %: $(www)/http/code.jquery.com/% + cp $< $@ +jquery.tablesorter-$(tablesorter-ver).js: $(www)/https/raw.github.com/Mottie/tablesorter/v$(tablesorter-ver)/js/jquery.tablesorter.js + cp $< $@ +konami.js: %: $(www)/https/raw.github.com/snaptortoise/konami-js/master/% + cp $< $@ |