blob: 5bfbb3b43b36b0995108301a0f989f1d1f947cfe (
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
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
|
#FIXME: In general, we should modify this makefile such that it becomes
# less hacky.
ucs_generated = ucs.sty utf8x.def ucsencs.def ucsutils.sty ucshyper.sty
utils_generated = c00enc.def \
c10enc.def \
c40enc.def \
c42enc.def \
c61enc.def \
cenccmn.tex \
lklenc.def \
lklkli.fd \
autofe.sty \
ldvenc.def \
ldvarial.fd \
ldvc2000.fd \
letenc.def \
letgfzem.fd \
letjiret.fd \
letc2000.fd \
ltaenc.def \
ltaarial.fd \
ltac2000.fd \
ltgenc.def \
ltgc2000.fd \
ltlenc.def \
ltlcmr.fd \
lucenc.def \
lucc2000.fd \
lucarial.fd \
mkrenc.def \
mkrezra.fd \
mkrhadas.fd \
mkromega.fd \
mkrrashi.fd \
t2denc.def \
t2dcmr.fd \
tengwarDS.enc \
ltwenc.def \
ltwdsque.fd \
ltwdsnol.fd \
ltwdssin.fd \
xsenc.def \
xscmr.fd \
cp1252.enc
local_pdflatex=TEXINPUTS=.:data:utils: pdflatex
all: docstrip datafiles doc
.PHONY: all
clean: clean-doc clean-datafiles clean-docstrip clean-dist
.PHONY: clean
docstrip: clean-docstrip
tex ucs.ins
rm ucs.log
mv $(utils_generated) utils
.PHONY: docstrip
clean-docstrip:
rm -f $(ucs_generated)
cd utils; rm -f $(utils_generated)
.PHONY: clean-docstrip
datafiles: clean-datafiles
wget http://www.unicode.org/Public/UNIDATA/UnicodeData.txt
mkdir data
perl -w makeunidef.pl --nocomments --targetdir=data config/*.ucf
rm UnicodeData.txt
.PHONY: datafiles
clean-datafiles:
rm -rf data
.PHONY: clean-datafiles
doc: docstrip datafiles clean-doc
$(local_pdflatex) -draftmode ucs.dtx
makeindex -s gind ucs.idx
makeindex -s gglo -o ucs.gls ucs.glo
$(local_pdflatex) ucs.dtx
rm -f ucs.{aux,glo,gls,idx,ilg,ind,log,out,toc}
.PHONY: doc
clean-doc:
rm -f ucs.pdf
.PHONY: clean-doc
dist: clean-dist
darcs dist --dist-name ucs --set-scripts-executable
.PHONY: dist
clean-dist:
rm -f ucs.tar.gz
.PHONY: clean-dist
|