summaryrefslogtreecommitdiff
path: root/Build/source/utils/xindy/xindy-src/make-rules/inputenc/Makefile.am
blob: d399ed8f24fc87661e3cb722b09f4ebed26057ca (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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
## Use `autoreconf' in top-level directory to recreate all
## autoconf/automake files.
## Or, call `automake Makefile' to create only Makefile.in.

## Copyright (C) 2004-2005 by Gour.
##
## This program is free software; you can redistribute it and/or
## modify it under the terms of the GNU General Public License as
## published by the Free Software Foundation; either version 2 of the
## License, or (at your option) any later version.
##
## This program is distributed in the hope that it will be useful, but
## WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
## General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with this program in the file COPYING; if not, write to the
## Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
## Boston, MA 02110-1301 USA.

modulesdir = $(pkglibdir)/modules

inputencdir = $(modulesdir)/tex/inputenc

INPUTENCS = \
	cp1250.xdy \
	cp1251.xdy \
	cp1252.xdy \
	cp437.xdy \
	cp850.xdy \
	cp855.xdy \
	cp866.xdy \
	iso88595.xdy \
	isoir111.xdy \
	koi8-r.xdy \
	koi8-u.xdy \
	latin.xdy \
	latin1.xdy \
	latin2.xdy \
	latin3.xdy \
	utf8.xdy

latin.xdy : latin1.xdy latin2.xdy latin3.xdy
	echo ';; Generated from latin?.xdy' >latin.xdy
	echo >>latin.xdy
	sort -u latin?.xdy | grep -v '^;' >>latin.xdy

utf8.xdy : latin1.xdy latin2.xdy latin3.xdy
	iconv -t UTF-8 -f ISO8859-1 latin1.xdy >latin1-utf8.xdy
	iconv -t UTF-8 -f ISO8859-2 latin2.xdy >latin2-utf8.xdy
	iconv -t UTF-8 -f ISO8859-3 latin3.xdy >latin3-utf8.xdy
	echo ';; Generated from recoded latin?.xdy' >utf8.xdy
	echo >>utf8.xdy
	sort -u latin?-utf8.xdy | grep -v '^;' >>utf8.xdy

%.xdy %.idx :
	$(PERL) $(srcdir)/make-testidx.pl TS1,T2A,T1 $* >$*.tex
	$(LATEX) -interaction nonstopmode $*.tex
	$(PERL) $(srcdir)/make-inp-rules.pl <$*.idx >$*.xdy

PERLSCRIPTS = \
	make-inp-rules.pl \
	make-testidx.pl


AUXS = \
	cp1250.aux \
	cp1251.aux \
	cp1252.aux \
	cp437.aux \
	cp850.aux \
	cp855.aux \
	cp866.aux \
	iso88595.aux \
	isoir111.aux \
	koi8-r.aux \
	koi8-u.aux \
	latin1.aux \
	latin2.aux \
	latin3.aux

DVIS = \
	cp1250.dvi \
	cp1251.dvi \
	cp1252.dvi \
	cp437.dvi \
	cp850.dvi \
	cp855.dvi \
	cp866.dvi \
	iso88595.dvi \
	isoir111.dvi \
	koi8-r.dvi \
	koi8-u.dvi \
	latin1.dvi \
	latin2.dvi \
	latin3.dvi

IDXS = \
	cp1250.idx \
	cp1251.idx \
	cp1252.idx \
	cp437.idx \
	cp850.idx \
	cp855.idx \
	cp866.idx \
	iso88595.idx \
	isoir111.idx \
	koi8-r.idx \
	koi8-u.idx \
	latin1.idx \
	latin2.idx \
	latin3.idx

LOGS = \
	cp1250.log \
	cp1251.log \
	cp1252.log \
	cp437.log \
	cp850.log \
	cp855.log \
	cp866.log \
	iso88595.log \
	isoir111.log \
	koi8-r.log \
	koi8-u.log \
	latin1.log \
	latin2.log \
	latin3.log

TEXS = \
	cp1250.tex \
	cp1251.tex \
	cp1252.tex \
	cp437.tex \
	cp850.tex \
	cp855.tex \
	cp866.tex \
	iso88595.tex \
	isoir111.tex \
	koi8-r.tex \
	koi8-u.tex \
	latin1.tex \
	latin2.tex \
	latin3.tex

UTF8 = \
	latin1-utf8.xdy \
	latin2-utf8.xdy \
	latin3-utf8.xdy

EXTRA_DIST = $(PERLSCRIPTS)

CLEANFILES = $(AUXS) $(DVIS) $(IDXS) $(INPUTENCS) $(LOGS) $(TEXS) $(UTF8)

nodist_inputenc_DATA = $(INPUTENCS)