summaryrefslogtreecommitdiff
path: root/language/telugu/makefile
blob: 5c4383406b61db8ce30d515bf5cf117a54625cc0 (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
# This file is part of the TeluguTeX Software Package.
#Copyright (c) 1991 Lakshmankumar Mukkavilli
#
#The TeluguTeX Software Package is distributed in the hope that
#it will be useful,but WITHOUT ANY WARRANTY.  No author or distributor
#accepts responsibility to anyone for the consequences of using it
#or for whether it serves any particular purpose or works at all,
#unless he says so in writing.  Refer to the TeluguTeX Software Package
#General Public License for full details.
#
#Everyone is granted permission to copy, modify and redistribute
#the TeluguTeX Software Package, but only under the conditions described in the
#TeluguTeX Software Package General Public License.   A copy of this license is
#supposed to have been given to you along with TeluguTeX Software Package so you
#can know your rights and responsibilities.  It should be in a
#file named CopyrightLong.  Among other things, the copyright notice
#and this notice must be preserved on all copies.  
########
# This file contains commands to generate fonts for TeluguTeX.
# There are two things you should do before you start generating
# fonts.
# 1. Change DPI to reflect the charracteristics of the output
#    device.
# 2. decide if you want all the fonts listed in 'all' target. See
#    the README file. If you want a subset then fillin myfonts target
#    with the fonts that want to generate. Suppose I only want tel10,
#    tel11 and tel12 fonts. Then myfonts target would look like:
#myfonts :teloffset tel10 tel10nx tel10ny tel10b\
#         teloffset tel11 tel11nx tel11ny tel11b\
#         teloffset tel12 tel12nx tel12ny tel12b 
#         
#     teloffset is always needed.
#
#     It takes a longtime to generate telspa, telspb and telspc fonts. 
#
DPI=300
makefont=awk '/%$@%/,/%%/{print}' telfonts.awk>$@.mf;\
         mf $@;\
         gftopk $@.$(DPI)gf;\
         rm $@.log;\
         rm $@.mf;\
         rm $@.$(DPI)gf;
#tel10   :;awk '/%$@%/,/%%/{print}' telfonts.awk>$@.mf;

all     :teloffset tel10 tel10nx tel10ny tel10b\
         tel10s tel11 tel11nx tel11ny \
         tel11b tel11s tel12 tel12nx tel12ny tel12b \
         tel12s #tel15 tel15b tel15s tel18 tel18b tel18s tel20 \
#         tel20b tel20s tel25 tel25b tel25s tel30 tel30s \
#         tel35 tel35s tel40 tel40s tel55 tel55s \
#         tel72 tel100 tel172 telspa telspb telspc
 

teloffset  :;awk '/%$@%/,/%%/{print}' telfonts.awk>$@.mf;\
         mf $@;\
         grep '^\\' $@.log>tloffsets.tex;\
         rm $@.log;\
         rm $@.mf;

tel2602  :;awk '/%$@%/,/%%/{print}' telfonts.awk>$@.mf;\
         mf $@;\
         gftodvi $@.2602gf;\
         rm $@.log;\
         rm $@.2602gf;\
         rm $@.mf;

tel2602t  :;awk '/%$@%/,/%%/{print}' telfonts.awk>$@.mf;\
         mf $@;\
         rm $@.log;\
         rm $@.mf;

tel10   :;$(makefont)

tel10nx :;$(makefont)

tel10ny :;$(makefont)

tel10b   :;$(makefont)

tel10s   :;$(makefont)

tel11   :;$(makefont)

tel11nx :;$(makefont)

tel11ny :;$(makefont)

tel11b   :;$(makefont)

tel11s   :;$(makefont)

tel12   :;$(makefont)

tel12nx :;$(makefont)

tel12ny :;$(makefont)

tel12b   :;$(makefont)

tel12s   :;$(makefont)

tel15   :;$(makefont)

tel15b   :;$(makefont)

tel15s   :;$(makefont)

tel18   :;$(makefont)

tel18b   :;$(makefont)

tel18s   :;$(makefont)

tel20   :;$(makefont)

tel20b   :;$(makefont)

tel20s   :;$(makefont)

tel25   :;$(makefont)

tel25b   :;$(makefont)

tel25s   :;$(makefont)

tel30   :;$(makefont)

tel30s   :;$(makefont)

tel35   :;$(makefont)

tel35s   :;$(makefont)

tel40   :;$(makefont)

tel40s   :;$(makefont)

tel55   :;$(makefont)

tel55s   :;$(makefont)

tel72    :;$(makefont)

tel100   :;$(makefont)

tel172   :;$(makefont)

telspa   :;$(makefont)

telspb   :;$(makefont)

telspc   :;$(makefont)