summaryrefslogtreecommitdiff
path: root/sitestatic/Makefile
blob: e99e3c96062ab1e10c80f78c4cfcdc5448589819 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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 $< $@