From 7ccccb7abbf0f7a393fea8d3334abdbf2025db62 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 14 Jul 2013 15:04:01 -0600 Subject: Add Makefiles to download .js files, and generate .min.js files. --- sitestatic/Makefile | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 sitestatic/Makefile (limited to 'sitestatic') diff --git a/sitestatic/Makefile b/sitestatic/Makefile new file mode 100644 index 00000000..e99e3c96 --- /dev/null +++ b/sitestatic/Makefile @@ -0,0 +1,24 @@ +include ../common.mk + +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 + +target-files=$(addsuffix .js,$(targets)) $(addsuffix .min.js,$(targets)) +all: $(target-files) +clean: + rm -f -- $(target-files) + +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 $< $@ -- cgit v1.2.3