summaryrefslogtreecommitdiff
path: root/sitestatic/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sitestatic/Makefile')
-rw-r--r--sitestatic/Makefile27
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 $< $@