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.9 2006/11/12 21:15:46 swildner Exp $
5 CLEANFILES
+= ${LOCALES
:S
/$/.out
/g
}
7 LOCALES
= af_ZA.ISO8859-1 \
72 LOCALEDIR
= ${DESTDIR}/usr
/share
/locale
74 ASCIILINKS
= en_AU en_CA en_GB en_NZ en_US
75 LATIN15LINKS
= af_ZA da_DK de_AT de_CH de_DE en_AU en_CA en_GB en_NZ en_US \
76 es_ES fi_FI fr_BE fr_CA fr_CH fr_FR is_IS is_IS it_IT it_CH \
77 nl_BE nl_NL no_NO pt_PT sv_SE
79 UTF8_LATIN1LINKS
= af_ZA ca_ES da_DK de_AT de_CH de_DE en_CA en_NZ en_US \
80 es_ES fi_FI fr_BE fr_CA fr_FR is_IS it_IT nl_BE nl_NL \
81 no_NO pt_BR pt_PT sv_SE
82 UTF8_LATIN2LINKS
= hr_HR hu_HU ro_RO sk_SK sl_SI sr_YU
83 UTF8_LATIN7LINKS
= el_GR
84 UTF8_LATIN9LINKS
= tr_TR
85 UTF8_LATIN13LINKS
= lt_LT
86 UTF8_LATIN15LINKS
= et_EE
94 grep
-v
'^#' < ${.IMPSRC
} > ${.TARGET
}
96 all: ${LOCALES
:S
/$/.out
/g
}
99 .for lang in
${LOCALES}
100 ${INSTALL} -m
644 -o
${BINOWN} -g
${BINGRP} ${lang}.out \
101 ${LOCALEDIR}/${lang}/LC_MONETARY
103 .for link in
${LATIN15LINKS}
104 ${LN} -sf ..
/${link}.ISO8859-1
/LC_MONETARY \
105 ${LOCALEDIR}/${link}.ISO8859-15
/LC_MONETARY
107 .for link in
${ASCIILINKS}
108 ${LN} -sf ..
/${link}.ISO8859-1
/LC_MONETARY \
109 ${LOCALEDIR}/${link}.US-ASCII
/LC_MONETARY
111 .for link in
${CH_LINKS}
112 ${LN} -sf ..
/${CH_SRC}.ISO8859-1
/LC_MONETARY \
113 ${LOCALEDIR}/${link}.ISO8859-1
/LC_MONETARY
115 ${LN} -sf ..
/ja_JP.eucJP
/LC_MONETARY \
116 ${LOCALEDIR}/ja_JP.SJIS
/LC_MONETARY
117 .for link in
${UTF8_LATIN1LINKS}
118 ${LN} -sf ..
/${link}.ISO8859-1
/LC_MONETARY \
119 ${LOCALEDIR}/${link}.UTF-8
/LC_MONETARY
121 .for link in
${UTF8_LATIN2LINKS}
122 ${LN} -sf ..
/${link}.ISO8859-2
/LC_MONETARY \
123 ${LOCALEDIR}/${link}.UTF-8
/LC_MONETARY
125 .for link in
${UTF8_LATIN7LINKS}
126 ${LN} -sf ..
/${link}.ISO8859-7
/LC_MONETARY \
127 ${LOCALEDIR}/${link}.UTF-8
/LC_MONETARY
129 .for link in
${UTF8_LATIN9LINKS}
130 ${LN} -sf ..
/${link}.ISO8859-9
/LC_MONETARY \
131 ${LOCALEDIR}/${link}.UTF-8
/LC_MONETARY
133 .for link in
${UTF8_LATIN13LINKS}
134 ${LN} -sf ..
/${link}.ISO8859-13
/LC_MONETARY \
135 ${LOCALEDIR}/${link}.UTF-8
/LC_MONETARY
137 .for link in
${UTF8_LATIN15LINKS}
138 ${LN} -sf ..
/${link}.ISO8859-15
/LC_MONETARY \
139 ${LOCALEDIR}/${link}.UTF-8
/LC_MONETARY
141 .for link in
${CH_LINKS}
142 ${LN} -sf ..
/${CH_SRC}.UTF-8
/LC_MONETARY \
143 ${LOCALEDIR}/${link}.UTF-8
/LC_MONETARY
145 ${LN} -sf ..
/ja_JP.eucJP
/LC_MONETARY \
146 ${LOCALEDIR}/ja_JP.UTF-8
/LC_MONETARY
147 ${LN} -sf ..
/ko_KR.eucKR
/LC_MONETARY \
148 ${LOCALEDIR}/ko_KR.UTF-8
/LC_MONETARY
149 ${LN} -sf ..
/zh_TW.Big5
/LC_MONETARY \
150 ${LOCALEDIR}/zh_TW.UTF-8
/LC_MONETARY
152 .
include <bsd.prog.mk
>