Cleanup remaining tsleep priority issues.
[dragonfly.git] / share / mklocale / Makefile
1 # $FreeBSD: src/share/mklocale/Makefile,v 1.28.2.10 2002/08/17 19:17:50 ache Exp $
2 # $DragonFly: src/share/mklocale/Attic/Makefile,v 1.2 2003/06/17 04:37:02 dillon Exp $
3
4 NOMAN=YES
5 CLEANFILES+= ${LOCALES:S/$/.out/g}
6
7 LOCALES=        bg_BG.CP1251 \
8                 el_GR.ISO8859-7 \
9                 hi_IN.ISCII-DEV \
10                 ja_JP.SJIS \
11                 ja_JP.eucJP \
12                 ko_KR.eucKR \
13                 la_LN.ISO8859-1 \
14                 la_LN.ISO8859-15 \
15                 la_LN.ISO8859-2 \
16                 la_LN.ISO8859-4 \
17                 la_LN.US-ASCII \
18                 ru_RU.CP866 \
19                 ru_RU.ISO8859-5 \
20                 ru_RU.KOI8-R \
21                 uk_UA.KOI8-U \
22                 zh_CN.eucCN \
23                 zh_TW.Big5
24
25 LOCALEDIR=      ${DESTDIR}/usr/share/locale
26
27 ASCIILINKS=     en_AU en_CA en_GB en_NZ en_US
28 LATIN1XLINKS=   af_ZA da_DK de_AT de_CH de_DE en_AU en_CA en_GB en_NZ en_US \
29                 es_ES fi_FI fr_BE fr_CA fr_CH fr_FR is_IS it_CH it_IT nl_BE \
30                 nl_NL no_NO pt_PT sv_SE
31 LATIN1LINKS=    ${LATIN1XLINKS} pt_BR
32 LATIN15LINKS=   ${LATIN1XLINKS} et_EE
33 LATIN2LINKS=    cs_CZ hr_HR hu_HU pl_PL sl_SI ro_RO sk_SK
34 LATIN4LINKS=    lt_LT
35 LATIN5LINKS=    uk_UA
36
37 .SUFFIXES: .src .out
38
39 .src.out:
40         mklocale -o ${.TARGET} ${.IMPSRC}
41
42 all: ${LOCALES:S/$/.out/g}
43
44 afterinstall:
45 .for locale in ${LOCALES}
46         ${INSTALL} -m 644 -o ${BINOWN} -g ${BINGRP} \
47                 ${locale}.out ${LOCALEDIR}/${locale}/LC_CTYPE
48 .endfor
49 .for link in ${LATIN1LINKS}
50         ln -fs ../la_LN.ISO8859-1/LC_CTYPE \
51                        ${LOCALEDIR}/${link}.ISO8859-1/LC_CTYPE
52 .endfor
53 .for link in ${LATIN15LINKS}
54         ln -fs ../la_LN.ISO8859-15/LC_CTYPE \
55                        ${LOCALEDIR}/${link}.ISO8859-15/LC_CTYPE
56 .endfor
57 .for link in ${LATIN2LINKS}
58         ln -fs ../la_LN.ISO8859-2/LC_CTYPE \
59                 ${LOCALEDIR}/${link}.ISO8859-2/LC_CTYPE
60 .endfor
61 .for link in ${LATIN4LINKS}
62         ln -fs ../la_LN.ISO8859-4/LC_CTYPE \
63                 ${LOCALEDIR}/${link}.ISO8859-4/LC_CTYPE
64 .endfor
65 .for link in ${LATIN5LINKS}
66         ln -fs ../ru_RU.ISO8859-5/LC_CTYPE \
67                 ${LOCALEDIR}/${link}.ISO8859-5/LC_CTYPE
68 .endfor
69 .for link in ${ASCIILINKS}
70         ln -fs ../la_LN.US-ASCII/LC_CTYPE \
71                 ${LOCALEDIR}/${link}.US-ASCII/LC_CTYPE
72 .endfor
73         ln -fs ../la_LN.US-ASCII/LC_CTYPE \
74                 ${LOCALEDIR}/tr_TR.ISO8859-9/LC_CTYPE
75
76 .include <bsd.prog.mk>