-
Notifications
You must be signed in to change notification settings - Fork 11
/
Makefile
31 lines (25 loc) · 946 Bytes
/
Makefile
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
28
29
30
31
MYSQL_ARGS=
read:
./make-reload-db.sh "$(MYSQL_ARGS)"
access-portal/head_date.txt:
git log -1 --format="%ad" --date=format:"%Y-%m-%d" > "$@"
.PHONY: fetch_tablesorter
fetch_tablesorter:
curl -Lo access-portal/jquery.min.js \
'https://code.jquery.com/jquery-3.7.1.min.js'
curl -Lo access-portal/jquery.tablesorter.js \
'https://raw.githubusercontent.com/Mottie/tablesorter/master/js/jquery.tablesorter.js'
curl -Lo access-portal/tablesorter.css \
'https://raw.githubusercontent.com/riceissa/tablesorter-bare-bones-theme/master/theme.css'
.PHONY: clean_tablesorter
clean_tablesorter:
rm -f access-portal/jquery.min.js
rm -f access-portal/jquery.tablesorter.js
rm -f access-portal/tablesorter.css
.PHONY: fetch_anchorjs
fetch_anchorjs:
curl -Lo access-portal/anchor.min.js \
'https://raw.githubusercontent.com/bryanbraun/anchorjs/master/anchor.min.js'
.PHONY: clean_anchorjs
clean_anchorjs:
rm -f access-portal/anchor.min.js