summaryrefslogtreecommitdiff
path: root/sitestatic/Makefile
blob: d716992fafd093a92baf83ae9f982efb9ca5a76d (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
25
26
27
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)) favicon.ico silhouette.png
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 $< $@

favicon.ico silhouette.png: %: $(branding)/%
	cp $< $@