1 | # $Id: Makefile,v 1.6 2001-04-08 14:55:21 ghudson Exp $ |
---|
2 | |
---|
3 | # Tools |
---|
4 | BDFTOPCF=bdftopcf |
---|
5 | MKFONTDIR=mkfontdir |
---|
6 | |
---|
7 | # Where to put the founts |
---|
8 | INSTALLDIR = $(DESTDIR)/usr/athena/lib/X11/fonts/intlfonts |
---|
9 | |
---|
10 | # alias files |
---|
11 | aliases = Chinese/fonts.alias European/fonts.alias Japanese-X/fonts.alias \ |
---|
12 | Japanese/fonts.alias |
---|
13 | |
---|
14 | # fonts to build |
---|
15 | fonts = Asian/etl16-viscii.pcf \ |
---|
16 | Asian/etl24-viscii.pcf \ |
---|
17 | Asian/mule-indian-1col-24.pcf \ |
---|
18 | Asian/mule-indian-24.pcf \ |
---|
19 | Asian/mule-iscii-24.pcf \ |
---|
20 | Asian/mule-lao-14.pcf \ |
---|
21 | Asian/mule-lao-16.pcf \ |
---|
22 | Asian/mule-lao-24.pcf \ |
---|
23 | Asian/mule-tibmdx-16.pcf \ |
---|
24 | Asian/mule-tibmdx-1col-16.pcf \ |
---|
25 | Asian/mule-tibmdx-1col-24.pcf \ |
---|
26 | Asian/mule-tibmdx-24.pcf \ |
---|
27 | Asian/thai-14.pcf \ |
---|
28 | Asian/thai-16.pcf \ |
---|
29 | Asian/thai-24.pcf \ |
---|
30 | Chinese-BIG/cc40s.pcf \ |
---|
31 | Chinese-BIG/cc48s.pcf \ |
---|
32 | Chinese-BIG/cns-1-40.pcf \ |
---|
33 | Chinese-BIG/cns-2-40.pcf \ |
---|
34 | Chinese-BIG/cns-3-40.pcf \ |
---|
35 | Chinese-BIG/cns-4-40.pcf \ |
---|
36 | Chinese-BIG/cns-5-40.pcf \ |
---|
37 | Chinese-BIG/cns-6-40.pcf \ |
---|
38 | Chinese-BIG/cns-7-40.pcf \ |
---|
39 | Chinese-X/gb16fs.pcf \ |
---|
40 | Chinese-X/gb16st.pcf \ |
---|
41 | Chinese-X/gb24st.pcf \ |
---|
42 | Chinese/cns-1-16.pcf \ |
---|
43 | Chinese/cns-1-24.pcf \ |
---|
44 | Chinese/cns-2-16.pcf \ |
---|
45 | Chinese/cns-2-24.pcf \ |
---|
46 | Chinese/cns-3-24.pcf \ |
---|
47 | Chinese/cns-4-24.pcf \ |
---|
48 | Chinese/cns-5-24.pcf \ |
---|
49 | Chinese/cns-6-24.pcf \ |
---|
50 | Chinese/cns-7-24.pcf \ |
---|
51 | Chinese/etl14-sisheng.pcf \ |
---|
52 | Chinese/etl16-sisheng.pcf \ |
---|
53 | Chinese/etl24-sisheng.pcf \ |
---|
54 | Chinese/guobiao16.pcf \ |
---|
55 | Chinese/taipei16.pcf \ |
---|
56 | Chinese/taipei24.pcf \ |
---|
57 | Ethiopic/ethiomx16f-uni.pcf \ |
---|
58 | Ethiopic/ethiomx24f-uni.pcf \ |
---|
59 | European-BIG/etl40-latin1.pcf \ |
---|
60 | European/a18.pcf \ |
---|
61 | European/etl14-cyrillic.pcf \ |
---|
62 | European/etl14-greek.pcf \ |
---|
63 | European/etl14-koi8.pcf \ |
---|
64 | European/etl14-latin1.pcf \ |
---|
65 | European/etl14-latin2.pcf \ |
---|
66 | European/etl14-latin3.pcf \ |
---|
67 | European/etl14-latin4.pcf \ |
---|
68 | European/etl14-latin5.pcf \ |
---|
69 | European/etl16-cyrillic.pcf \ |
---|
70 | European/etl16-greek.pcf \ |
---|
71 | European/etl16-koi8.pcf \ |
---|
72 | European/etl16-latin1.pcf \ |
---|
73 | European/etl16-latin2.pcf \ |
---|
74 | European/etl16-latin3.pcf \ |
---|
75 | European/etl16-latin4.pcf \ |
---|
76 | European/etl16-latin5.pcf \ |
---|
77 | European/etl16b-latin1.pcf \ |
---|
78 | European/etl16bi-latin1.pcf \ |
---|
79 | European/etl16i-latin1.pcf \ |
---|
80 | European/etl24-cyrillic.pcf \ |
---|
81 | European/etl24-greek.pcf \ |
---|
82 | European/etl24-koi8.pcf \ |
---|
83 | European/etl24-latin1.pcf \ |
---|
84 | European/etl24-latin2.pcf \ |
---|
85 | European/etl24-latin3.pcf \ |
---|
86 | European/etl24-latin4.pcf \ |
---|
87 | European/etl24-latin5.pcf \ |
---|
88 | Japanese-BIG/jisksp40.pcf \ |
---|
89 | Japanese-BIG/kanji32.pcf \ |
---|
90 | Japanese-BIG/kanji48.pcf \ |
---|
91 | Japanese-X/12x24rk.pcf \ |
---|
92 | Japanese-X/8x16rk.pcf \ |
---|
93 | Japanese-X/jiskan16.pcf \ |
---|
94 | Japanese-X/jiskan24.pcf \ |
---|
95 | Japanese-X/k14.pcf \ |
---|
96 | Japanese/a18rk.pcf \ |
---|
97 | Japanese/jiskan16-1978.pcf \ |
---|
98 | Japanese/jisksp16.pcf \ |
---|
99 | Japanese/k16-1990.pcf \ |
---|
100 | Japanese/kanji18.pcf \ |
---|
101 | Korean-X/hanglg16.pcf \ |
---|
102 | Korean-X/hanglm16.pcf \ |
---|
103 | Korean-X/hanglm24.pcf \ |
---|
104 | Misc/etl14-hebrew.pcf \ |
---|
105 | Misc/etl14-ipa.pcf \ |
---|
106 | Misc/etl16-arabic0.pcf \ |
---|
107 | Misc/etl16-arabic1.pcf \ |
---|
108 | Misc/etl16-arabic2.pcf \ |
---|
109 | Misc/etl16-hebrew.pcf \ |
---|
110 | Misc/etl16-ipa.pcf \ |
---|
111 | Misc/etl24-arabic0.pcf \ |
---|
112 | Misc/etl24-arabic1.pcf \ |
---|
113 | Misc/etl24-arabic2.pcf \ |
---|
114 | Misc/etl24-hebrew.pcf \ |
---|
115 | Misc/etl24-ipa.pcf |
---|
116 | |
---|
117 | all: $(fonts) fonts.alias |
---|
118 | |
---|
119 | clean: |
---|
120 | rm -f $(fonts) fonts.alias |
---|
121 | |
---|
122 | check: |
---|
123 | |
---|
124 | install: all |
---|
125 | mkdir -p $(INSTALLDIR) |
---|
126 | cp $(fonts) $(INSTALLDIR) |
---|
127 | touch $(INSTALLDIR)/fonts.alias |
---|
128 | cat fonts.alias $(INSTALLDIR)/fonts.alias | sort | uniq > temp |
---|
129 | mv temp $(INSTALLDIR)/fonts.alias |
---|
130 | (cd $(INSTALLDIR); $(MKFONTDIR)) |
---|
131 | |
---|
132 | fonts.alias: $(aliases) |
---|
133 | cat $(aliases) | sort | uniq > fonts.alias |
---|
134 | |
---|
135 | %.pcf: %.bdf |
---|
136 | rm -f $@ |
---|
137 | $(BDFTOPCF) $< > $@ |
---|