source: trunk/third/intlfonts/Makefile @ 12875

Revision 12875, 2.5 KB checked in by ghudson, 26 years ago (diff)
It's bdf and pcf, not bcf and pdf. It's VPATH, not vpath. No - before mkdir -p; IRIX isn't lossy that way any more. When constructing .pcf files, rm -f them first in case a non-writable one exists.
Line 
1# $Id: Makefile,v 1.4 1999-04-09 17:53:32 ghudson Exp $
2
3# Font source directories
4VPATH = Asian Chinese Chinese-BIG Chinese-X Ethiopic European \
5        European-BIG Japanese Japanese-BIG Japanese-X Korean-X Misc
6
7# Tools
8BDFTOPCF=bdftopcf
9MKFONTDIR=mkfontdir
10
11# Where to put the founts
12INSTALLDIR = $(DESTDIR)/usr/athena/lib/X11/fonts/intlfonts
13
14# alias files
15aliases = Chinese/fonts.alias European/fonts.alias Japanese-X/fonts.alias \
16        Japanese/fonts.alias
17
18# fonts to build
19fonts = etl16-viscii.pcf etl24-viscii.pcf mule-indian-1col-24.pcf \
20        mule-indian-24.pcf mule-iscii-24.pcf mule-lao-14.pcf \
21        mule-lao-16.pcf mule-lao-24.pcf mule-tibmdx-16.pcf \
22        mule-tibmdx-1col-16.pcf mule-tibmdx-1col-24.pcf \
23        mule-tibmdx-24.pcf thai-14.pcf thai-16.pcf thai-24.pcf \
24        cns-1-16.pcf cns-1-24.pcf cns-2-16.pcf cns-2-24.pcf \
25        cns-3-24.pcf cns-4-24.pcf cns-5-24.pcf cns-6-24.pcf \
26        cns-7-24.pcf etl14-sisheng.pcf etl16-sisheng.pcf \
27        etl24-sisheng.pcf fonts.alias guobiao16.pcf taipei16.pcf \
28        taipei24.pcf cc40s.pcf cc48s.pcf cns-1-40.pcf cns-2-40.pcf \
29        cns-3-40.pcf cns-4-40.pcf cns-5-40.pcf cns-6-40.pcf \
30        cns-7-40.pcf gb16fs.pcf gb16st.pcf gb24st.pcf \
31        ethiomx16f-uni.pcf ethiomx24f-uni.pcf a18.pcf \
32        etl14-cyrillic.pcf etl14-greek.pcf etl14-koi8.pcf \
33        etl14-latin1.pcf etl14-latin2.pcf etl14-latin3.pcf \
34        etl14-latin4.pcf etl14-latin5.pcf etl16-cyrillic.pcf \
35        etl16-greek.pcf etl16-koi8.pcf etl16-latin1.pcf \
36        etl16-latin2.pcf etl16-latin3.pcf etl16-latin4.pcf \
37        etl16-latin5.pcf etl16b-latin1.pcf etl16bi-latin1.pcf \
38        etl16i-latin1.pcf etl24-cyrillic.pcf etl24-greek.pcf \
39        etl24-koi8.pcf etl24-latin1.pcf etl24-latin2.pcf \
40        etl24-latin3.pcf etl24-latin4.pcf etl24-latin5.pcf \
41        etl40-latin1.pcf a18rk.pcf jiskan16-1978.pcf jisksp16.pcf \
42        k16-1990.pcf kanji18.pcf jisksp40.pcf kanji32.pcf kanji48.pcf \
43        12x24rk.pcf 8x16rk.pcf jiskan16.pcf jiskan24.pcf k14.pcf \
44        hanglg16.pcf hanglm16.pcf hanglm24.pcf etl14-hebrew.pcf \
45        etl14-ipa.pcf etl16-arabic0.pcf etl16-arabic1.pcf \
46        etl16-arabic2.pcf etl16-hebrew.pcf etl16-ipa.pcf \
47        etl24-arabic0.pcf etl24-arabic1.pcf etl24-arabic2.pcf \
48        etl24-hebrew.pcf etl24-ipa.pcf
49
50all: $(fonts) fonts.alias
51
52clean:
53        rm -f *.pcf fonts.alias
54
55install: all
56        mkdir -p $(INSTALLDIR)
57        cp $(fonts) $(INSTALLDIR)
58        touch $(INSTALLDIR)/fonts.alias
59        cat fonts.alias $(INSTALLDIR)/fonts.alias | sort | uniq > temp
60        mv temp $(INSTALLDIR)/fonts.alias
61        (cd $(INSTALLDIR); $(MKFONTDIR))
62
63fonts.alias: $(aliases)
64        cat $(aliases) | sort | uniq > fonts.alias
65
66%.pcf: %.bdf
67        rm -f $@
68        $(BDFTOPCF) $< > $@
Note: See TracBrowser for help on using the repository browser.