-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
44 lines (30 loc) · 1.38 KB
/
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
32
33
34
35
36
37
38
39
40
41
42
43
TEXIARGS = --html --ifinfo --no-split --css-ref=janix-texinfo.css
.PHONY: flim semi wanderlust clean
all: wl.html wl-ja.html mime-en.html mime-ja.html mime-ui-en.html mime-ui-ja.html
clean:
rm -rf tmp/ wl.html wl-ja.html mime-en.html mime-ja.html mime-ui-en.html mime-ui-ja.html janix-texinfo.css
tmp:
mkdir -p tmp
flim: tmp
[ -d tmp/flim ] || (cd tmp && git clone https://github.com/wanderlust/flim.git --depth 1)
cd tmp/flim && git pull
semi: tmp
[ -d tmp/semi ] || (cd tmp && git clone https://github.com/wanderlust/semi.git --depth 1)
cd tmp/semi && git pull
wanderlust: tmp
[ -d tmp/wanderlust ] || (cd tmp && git clone https://github.com/wanderlust/wanderlust.git --depth 1)
cd tmp/wanderlust && git pull
janix-texinfo.css:
wget https://raw.githubusercontent.com/Janixman/janix-texinfo.css/master/janix-texinfo.css
mime-ui-en.html : semi janix-texinfo.css
texi2any $(TEXIARGS) tmp/semi/mime-ui-en.texi -o $@
mime-ui-ja.html : semi janix-texinfo.css
texi2any $(TEXIARGS) tmp/semi/mime-ui-ja.texi -o $@
mime-en.html : flim janix-texinfo.css
texi2any $(TEXIARGS) tmp/flim/mime-en.texi -o $@
mime-ja.html : flim janix-texinfo.css
texi2any $(TEXIARGS) --force tmp/flim/mime-ja.texi -o $@
wl.html : wanderlust janix-texinfo.css
texi2any $(TEXIARGS) tmp/wanderlust/doc/wl.texi -o $@
wl-ja.html: wanderlust janix-texinfo.css
texi2any $(TEXIARGS) tmp/wanderlust/doc/wl-ja.texi -o $@