[13642] | 1 | # $Id: Makefile,v 1.5 1999-09-29 20:40:05 danw Exp $ |
---|
[12767] | 2 | |
---|
[12867] | 3 | # Font source directories |
---|
[12875] | 4 | VPATH = Asian Chinese Chinese-BIG Chinese-X Ethiopic European \ |
---|
[12867] | 5 | European-BIG Japanese Japanese-BIG Japanese-X Korean-X Misc |
---|
[12767] | 6 | |
---|
[12867] | 7 | # Tools |
---|
[12875] | 8 | BDFTOPCF=bdftopcf |
---|
[12867] | 9 | MKFONTDIR=mkfontdir |
---|
[12767] | 10 | |
---|
[12867] | 11 | # Where to put the founts |
---|
| 12 | INSTALLDIR = $(DESTDIR)/usr/athena/lib/X11/fonts/intlfonts |
---|
[12767] | 13 | |
---|
[12867] | 14 | # alias files |
---|
| 15 | aliases = Chinese/fonts.alias European/fonts.alias Japanese-X/fonts.alias \ |
---|
| 16 | Japanese/fonts.alias |
---|
[12767] | 17 | |
---|
[12867] | 18 | # fonts to build |
---|
[12875] | 19 | fonts = 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 |
---|
[12767] | 49 | |
---|
[12867] | 50 | all: $(fonts) fonts.alias |
---|
| 51 | |
---|
[12767] | 52 | clean: |
---|
[12875] | 53 | rm -f *.pcf fonts.alias |
---|
[12767] | 54 | |
---|
[13642] | 55 | check: |
---|
| 56 | |
---|
[12867] | 57 | install: all |
---|
[12875] | 58 | mkdir -p $(INSTALLDIR) |
---|
[12867] | 59 | cp $(fonts) $(INSTALLDIR) |
---|
| 60 | touch $(INSTALLDIR)/fonts.alias |
---|
| 61 | cat fonts.alias $(INSTALLDIR)/fonts.alias | sort | uniq > temp |
---|
| 62 | mv temp $(INSTALLDIR)/fonts.alias |
---|
| 63 | (cd $(INSTALLDIR); $(MKFONTDIR)) |
---|
[12767] | 64 | |
---|
[12867] | 65 | fonts.alias: $(aliases) |
---|
| 66 | cat $(aliases) | sort | uniq > fonts.alias |
---|
[12767] | 67 | |
---|
[12875] | 68 | %.pcf: %.bdf |
---|
| 69 | rm -f $@ |
---|
| 70 | $(BDFTOPCF) $< > $@ |
---|