Add sr_YU.ISO8859-2/5.
[dragonfly.git] / share / monetdef / Makefile
1 # $FreeBSD: src/share/monetdef/Makefile,v 1.37.2.3 2002/08/17 19:38:08 ache Exp $
2 # $DragonFly: src/share/monetdef/Makefile,v 1.7 2004/10/07 13:32:37 asmodai Exp $
3
4 NOMAN=YES
5 CLEANFILES+= ${LOCALES:S/$/.out/g}
6
7 LOCALES=        af_ZA.ISO8859-1 \
8                 be_BY.UTF-8 \
9                 bg_BG.CP1251 \
10                 bg_BG.UTF-8 \
11                 cs_CZ.ISO8859-2 \
12                 cs_CZ.UTF-8 \
13                 da_DK.ISO8859-1 \
14                 de_AT.ISO8859-1 \
15                 de_CH.ISO8859-1 \
16                 de_DE.ISO8859-1 \
17                 el_GR.ISO8859-7 \
18                 en_AU.ISO8859-1 \
19                 en_CA.ISO8859-1 \
20                 en_GB.ISO8859-1 \
21                 en_GB.UTF-8 \
22                 en_IE.UTF-8 \
23                 en_NZ.ISO8859-1 \
24                 en_US.ISO8859-1 \
25                 es_ES.ISO8859-1 \
26                 et_EE.ISO8859-15 \
27                 fi_FI.ISO8859-1 \
28                 fo_FO.ISO8859-1 \
29                 fr_BE.ISO8859-1 \
30                 fr_CA.ISO8859-1 \
31                 fr_FR.ISO8859-1 \
32                 hi_IN.ISCII-DEV \
33                 hr_HR.ISO8859-2 \
34                 hu_HU.ISO8859-2 \
35                 hy_AM.UTF-8 \
36                 is_IS.ISO8859-1 \
37                 it_IT.ISO8859-1 \
38                 ja_JP.eucJP \
39                 kk_KZ.UTF-8 \
40                 ko_KR.eucKR \
41                 lt_LT.ISO8859-13 \
42                 nl_BE.ISO8859-1 \
43                 nl_NL.ISO8859-1 \
44                 no_NO.ISO8859-1 \
45                 pl_PL.ISO8859-2 \
46                 pl_PL.UTF-8 \
47                 pt_BR.ISO8859-1 \
48                 pt_PT.ISO8859-1 \
49                 ro_RO.ISO8859-2 \
50                 ru_RU.CP866 \
51                 ru_RU.ISO8859-5 \
52                 ru_RU.KOI8-R \
53                 ru_RU.UTF-8 \
54                 sk_SK.ISO8859-2 \
55                 sl_SI.ISO8859-2 \
56                 sr_YU.ISO8859-2 \
57                 sr_YU.ISO8859-5 \
58                 sr_YU.UTF-8 \
59                 sv_SE.ISO8859-1 \
60                 tr_TR.ISO8859-9 \
61                 uk_UA.ISO8859-5 \
62                 uk_UA.KOI8-U \
63                 uk_UA.UTF-8 \
64                 zh_CN.eucCN \
65                 zh_CN.UTF-8 \
66                 zh_HK.UTF-8 \
67                 zh_TW.Big5
68
69 LOCALEDIR=      ${DESTDIR}/usr/share/locale
70
71 ASCIILINKS=     en_AU en_CA en_GB en_NZ en_US
72 LATIN15LINKS=   af_ZA da_DK de_AT de_CH de_DE en_AU en_CA en_GB en_NZ en_US \
73                 es_ES fi_FI fr_BE fr_CA fr_CH fr_FR is_IS is_IS it_IT it_CH \
74                 nl_BE nl_NL no_NO pt_PT sv_SE
75
76 UTF8_LATIN1LINKS=       af_ZA ca_ES da_DK de_AT de_CH de_DE en_CA en_NZ en_US \
77                         es_ES fi_FI fr_BE fr_CA fr_FR is_IS it_IT nl_BE nl_NL \
78                         no_NO pt_BR pt_PT sv_SE
79 UTF8_LATIN2LINKS=       hr_HR hu_HU ro_RO sk_SK sl_SI sr_YU
80 UTF8_LATIN7LINKS=       el_GR
81 UTF8_LATIN9LINKS=       tr_TR
82 UTF8_LATIN13LINKS=      lt_LT
83 UTF8_LATIN15LINKS=      et_EE
84
85 CH_SRC=         de_CH
86 CH_LINKS=       fr_CH it_CH
87
88 .SUFFIXES: .src .out
89
90 .src.out:
91         grep -v '^#' < ${.IMPSRC} > ${.TARGET}
92
93 all: ${LOCALES:S/$/.out/g}
94
95 afterinstall:
96 .for lang in ${LOCALES}
97         ${INSTALL} -m 644 -o ${BINOWN} -g ${BINGRP} ${lang}.out \
98                 ${LOCALEDIR}/${lang}/LC_MONETARY
99 .endfor
100 .for link in ${LATIN15LINKS}
101         ln -sf ../${link}.ISO8859-1/LC_MONETARY \
102                ${LOCALEDIR}/${link}.ISO8859-15/LC_MONETARY
103 .endfor
104 .for link in ${ASCIILINKS}
105         ln -sf ../${link}.ISO8859-1/LC_MONETARY \
106                 ${LOCALEDIR}/${link}.US-ASCII/LC_MONETARY
107 .endfor
108 .for link in ${CH_LINKS}
109         ln -sf ../${CH_SRC}.ISO8859-1/LC_MONETARY \
110                 ${LOCALEDIR}/${link}.ISO8859-1/LC_MONETARY
111 .endfor
112         ln -sf ../ja_JP.eucJP/LC_MONETARY \
113                 ${LOCALEDIR}/ja_JP.SJIS/LC_MONETARY
114 .for link in ${UTF8_LATIN1LINKS}
115         ln -sf ../${link}.ISO8859-1/LC_MONETARY \
116                 ${LOCALEDIR}/${link}.UTF-8/LC_MONETARY
117 .endfor
118 .for link in ${UTF8_LATIN2LINKS}
119         ln -sf ../${link}.ISO8859-2/LC_MONETARY \
120                 ${LOCALEDIR}/${link}.UTF-8/LC_MONETARY
121 .endfor
122 .for link in ${UTF8_LATIN7LINKS}
123         ln -sf ../${link}.ISO8859-7/LC_MONETARY \
124                 ${LOCALEDIR}/${link}.UTF-8/LC_MONETARY
125 .endfor
126 .for link in ${UTF8_LATIN9LINKS}
127         ln -sf ../${link}.ISO8859-9/LC_MONETARY \
128                 ${LOCALEDIR}/${link}.UTF-8/LC_MONETARY
129 .endfor
130 .for link in ${UTF8_LATIN13LINKS}
131         ln -sf ../${link}.ISO8859-13/LC_MONETARY \
132                 ${LOCALEDIR}/${link}.UTF-8/LC_MONETARY
133 .endfor
134 .for link in ${UTF8_LATIN15LINKS}
135         ln -sf ../${link}.ISO8859-15/LC_MONETARY \
136                 ${LOCALEDIR}/${link}.UTF-8/LC_MONETARY
137 .endfor
138 .for link in ${CH_LINKS}
139         ln -sf ../${CH_SRC}.UTF-8/LC_MONETARY \
140                 ${LOCALEDIR}/${link}.UTF-8/LC_MONETARY
141 .endfor
142         ln -sf ../ja_JP.eucJP/LC_MONETARY \
143                 ${LOCALEDIR}/ja_JP.UTF-8/LC_MONETARY
144         ln -sf ../ko_KR.eucKR/LC_MONETARY \
145                 ${LOCALEDIR}/ko_KR.UTF-8/LC_MONETARY
146         ln -sf ../zh_TW.Big5/LC_MONETARY \
147                 ${LOCALEDIR}/zh_TW.UTF-8/LC_MONETARY
148
149 .include <bsd.prog.mk>