-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathMakefile
More file actions
68 lines (53 loc) · 3.08 KB
/
Makefile
File metadata and controls
68 lines (53 loc) · 3.08 KB
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
.PHONY: put parse zip doc
put:
rsync -vrt --delete --exclude=.git \
--exclude=.gitignore \
--exclude=.gitmodules \
--exclude=data \
--exclude=doc \
--exclude=published \
--exclude=save \
--exclude=tool \
. /Volumes/Elder\ Scrolls\ Online/live/AddOns/WritWorthy
get:
cp -f /Volumes/Elder\ Scrolls\ Online/live/SavedVariables/WritWorthy.lua data/
-cp -f /Volumes/Elder\ Scrolls\ Online/live/SavedVariables/LibDebugLogger.lua data/
getpts:
cp -f /Volumes/Elder\ Scrolls\ Online/pts/SavedVariables/WritWorthy.lua data/
-cp -f /Volumes/Elder\ Scrolls\ Online/pts/SavedVariables/LibDebugLogger.lua data/
parse:
lua wwparse.lua
zip:
-rm -rf published/WritWorthy published/WritWorthy\ x.x.x.zip
mkdir -p published/WritWorthy
cp -R lang published/WritWorthy/lang
cp ./WritWorthy* Bindings.xml published/WritWorthy/
cd published; zip -r WritWorthy\ x.x.x.zip WritWorthy
rm -rf published/WritWorthy
profile:
lua ZZProfiler_Dump.lua > profile.txt
lang/en2.lua: data/WritWorthy.lua make_lang.lua
lua make_lang.lua
lua lang/en2.lua
log:
lua tool/log_to_text.lua > data/log.txt
# Use sed to replace all my private, local, relative image paths with
# public, global, absolute paths to the same images hosted on esoui.com.
#
# I don't know why 2bbcode is inserting occasional [img=] tags instead
# of [img], but we'll just brute-force sed them away.
#
doc:
tool/2bbcode_phpbb <README.md >/tmp/md2bbdoc
sed 'sSRequired, install separately:S[color="red"]Required, install separately:[/color]S' /tmp/md2bbdoc >/tmp/md2bbdoc_a ; mv /tmp/md2bbdoc_a /tmp/md2bbdoc
sed 'sSNew and experimental as of 2019-06-04.S[color="gold"]New and experimental as of 2019-06-04.[/color]S' /tmp/md2bbdoc >/tmp/md2bbdoc_a ; mv /tmp/md2bbdoc_a /tmp/md2bbdoc
sed 'sS=]doc/img/ww_big.jpgS]https://cdn-eso.mmoui.com/preview/pvw5262.jpgS' /tmp/md2bbdoc >/tmp/md2bbdoc_a ; mv /tmp/md2bbdoc_a /tmp/md2bbdoc
sed sSdoc/img/ww_warn.jpgShttps://cdn-eso.mmoui.com/preview/pvw5322.jpgS /tmp/md2bbdoc >/tmp/md2bbdoc_a ; mv /tmp/md2bbdoc_a /tmp/md2bbdoc
sed sSdoc/img/window-partially-complete.jpgShttps://cdn-eso.mmoui.com/preview/pvw5718.jpgS /tmp/md2bbdoc >/tmp/md2bbdoc_a ; mv /tmp/md2bbdoc_a /tmp/md2bbdoc
sed sSdoc/img/warning-temper-expertise.jpgShttps://cdn-eso.mmoui.com/preview/pvw5719.jpgS /tmp/md2bbdoc >/tmp/md2bbdoc_a ; mv /tmp/md2bbdoc_a /tmp/md2bbdoc
sed sSdoc/img/ww_ags.jpgShttps://cdn-eso.mmoui.com/preview/pvw7851.jpgS /tmp/md2bbdoc >/tmp/md2bbdoc_a ; mv /tmp/md2bbdoc_a /tmp/md2bbdoc
sed sSdoc/img/hsm_stations_marked.jpgShttps://cdn-eso.mmoui.com/preview/pvw8154.jpgS /tmp/md2bbdoc >/tmp/md2bbdoc_a ; mv /tmp/md2bbdoc_a /tmp/md2bbdoc
sed sSdoc/img/mat_tooltip_all_bs.jpgShttps://cdn-eso.mmoui.com/preview/pvw10349.jpgS /tmp/md2bbdoc >/tmp/md2bbdoc_a ; mv /tmp/md2bbdoc_a /tmp/md2bbdoc
sed sSdoc/img/mats_list_missing.jpgShttps://cdn-eso.mmoui.com/preview/pvw10351.jpgS /tmp/md2bbdoc >/tmp/md2bbdoc_a ; mv /tmp/md2bbdoc_a /tmp/md2bbdoc
sed sSdoc/img/mats_list_all.jpgShttps://cdn-eso.mmoui.com/preview/pvw10350.jpgS /tmp/md2bbdoc >/tmp/md2bbdoc_a ; mv /tmp/md2bbdoc_a /tmp/md2bbdoc
cp /tmp/md2bbdoc doc/README.bbcode