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\ 62 pl_PL.UTF-8 \ 63 pt_BR.ISO8859-1 \ 64 pt_BR.UTF-8 \ 65 pt_PT.ISO8859-1 \ 66 pt_PT.UTF-8 \ 67 ro_RO.ISO8859-2 \ 68 ro_RO.UTF-8 \ 69 ru_RU.CP1251 \ 70 ru_RU.CP866 \ 71 ru_RU.ISO8859-5 \ 72 ru_RU.KOI8-R \ 73 ru_RU.UTF-8 \ 74 sk_SK.ISO8859-2 \ 75 sk_SK.UTF-8 \ 76 sl_SI.ISO8859-2 \ 77 sl_SI.UTF-8 \ 78 sr_YU.ISO8859-2 \ 79 sr_YU.ISO8859-5 \ 80 sr_YU.UTF-8 \ 81 sv_SE.ISO8859-1 \ 82 sv_SE.UTF-8 \ 83 tr_TR.ISO8859-9 \ 84 tr_TR.UTF-8 \ 85 uk_UA.ISO8859-5 \ 86 uk_UA.KOI8-U \ 87 uk_UA.UTF-8 \ 88 zh_CN.eucCN \ 89 zh_CN.GB18030 \ 90 zh_CN.GB2312 \ 91 zh_CN.UTF-8 \ 92 zh_TW.Big5 \ 93 zh_TW.UTF-8 94 95LOCALEDIR= ${DESTDIR}/usr/share/locale 96 97UTF8_LATIN1LINKS= en_GB en_US nl_NL 98 99LATIN15LINKS= ca_ES da_DK de_AT de_DE en_GB en_US es_ES fi_FI fr_FR is_IS \ 100 it_IT la_LN nl_NL no_NO pt_PT sv_SE 101DE_LINKS= de_CH 102FR_LINKS= fr_BE fr_CA fr_CH 103IT_LINKS= it_CH 104LN_LINKS= la_LN.US-ASCII la_LN.ISO8859-2 la_LN.ISO8859-4 105NL_LINKS= nl_BE 106US_LINKS= 107GB_LINKS= en_AU en_CA en_NZ 108 109.SUFFIXES: .src .out 110 111.src.out: 112 grep -v '^#' < ${.IMPSRC} > ${.TARGET} 113 114all: ${LOCALES:S/$/.out/g} 115 116afterinstall: 117 for l in ${LOCALES}; do \ 118 ${INSTALL} -m 644 -o ${BINOWN} -g ${BINGRP} $$l.out \ 119 ${LOCALEDIR}/$$l/LC_TIME; \ 120 done 121 for l in ${LATIN15LINKS}; do \ 122 ln -fs ../$$l.ISO8859-1/LC_TIME \ 123 ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \ 124 done 125 for l in ${DE_LINKS}; do \ 126 ln -fs ../de_DE.ISO8859-1/LC_TIME \ 127 ${LOCALEDIR}/$$l.ISO8859-1/LC_TIME; \ 128 ln -fs ../de_DE.ISO8859-1/LC_TIME \ 129 ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \ 130 done 131 for l in ${IT_LINKS}; do \ 132 ln -fs ../it_IT.ISO8859-1/LC_TIME \ 133 ${LOCALEDIR}/$$l.ISO8859-1/LC_TIME; \ 134 ln -fs ../it_IT.ISO8859-1/LC_TIME \ 135 ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \ 136 done 137 for l in ${FR_LINKS}; do \ 138 ln -fs ../fr_FR.ISO8859-1/LC_TIME \ 139 ${LOCALEDIR}/$$l.ISO8859-1/LC_TIME; \ 140 ln -fs ../fr_FR.ISO8859-1/LC_TIME \ 141 ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \ 142 done 143 for l in ${LN_LINKS}; do \ 144 ln -fs ../la_LN.ISO8859-1/LC_TIME \ 145 ${LOCALEDIR}/$$l/LC_TIME; \ 146 done 147 for l in ${NL_LINKS}; do \ 148 ln -fs ../nl_NL.ISO8859-1/LC_TIME \ 149 ${LOCALEDIR}/$$l.ISO8859-1/LC_TIME; \ 150 ln -fs ../nl_NL.ISO8859-1/LC_TIME \ 151 ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \ 152 done 153 for l in ${US_LINKS}; do \ 154 ln -fs ../en_US.ISO8859-1/LC_TIME \ 155 ${LOCALEDIR}/$$l.ISO8859-1/LC_TIME; \ 156 ln -fs ../en_US.ISO8859-1/LC_TIME \ 157 ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \ 158 ln -fs ../en_US.ISO8859-1/LC_TIME \ 159 ${LOCALEDIR}/$$l.US-ASCII/LC_TIME; \ 160 done 161 for l in ${GB_LINKS}; do \ 162 ln -fs ../en_GB.ISO8859-1/LC_TIME \ 163 ${LOCALEDIR}/$$l.ISO8859-1/LC_TIME; \ 164 ln -fs ../en_GB.ISO8859-1/LC_TIME \ 165 ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \ 166 ln -fs ../en_GB.ISO8859-1/LC_TIME \ 167 ${LOCALEDIR}/$$l.US-ASCII/LC_TIME; \ 168 done 169 ln -fs ../en_GB.ISO8859-1/LC_TIME \ 170 ${LOCALEDIR}/en_GB.US-ASCII/LC_TIME 171 ln -fs ../en_US.ISO8859-1/LC_TIME \ 172 ${LOCALEDIR}/en_US.US-ASCII/LC_TIME 173 ln -fs ../en_US.ISO8859-1/LC_TIME \ 174 ${LOCALEDIR}/af_ZA.ISO8859-1/LC_TIME 175 ln -fs ../en_US.ISO8859-15/LC_TIME \ 176 ${LOCALEDIR}/af_ZA.ISO8859-15/LC_TIME 177 ln -fs ../ko_KR.eucKR/LC_TIME \ 178 ${LOCALEDIR}/ko_KR.CP949/LC_TIME 179 ln -fs ../zh_CN.GB2312/LC_TIME \ 180 ${LOCALEDIR}/zh_CN.GBK/LC_TIME 181 for l in ${UTF8_LATIN1LINKS}; do \ 182 ln -fs ../$$l.ISO8859-1/LC_TIME \ 183 ${LOCALEDIR}/$$l.UTF-8/LC_TIME; \ 184 done 185 for l in ${DE_LINKS}; do \ 186 ln -fs ../de_DE.UTF-8/LC_TIME \ 187 ${LOCALEDIR}/$$l.UTF-8/LC_TIME; \ 188 done 189 for l in ${IT_LINKS}; do \ 190 ln -fs ../it_IT.UTF-8/LC_TIME \ 191 ${LOCALEDIR}/$$l.UTF-8/LC_TIME; \ 192 done 193 for l in ${FR_LINKS}; do \ 194 ln -fs ../fr_FR.UTF-8/LC_TIME \ 195 ${LOCALEDIR}/$$l.UTF-8/LC_TIME; \ 196 done 197 for l in ${NL_LINKS}; do \ 198 ln -fs ../nl_NL.UTF-8/LC_TIME \ 199 ${LOCALEDIR}/$$l.UTF-8/LC_TIME; \ 200 done 201 for l in ${US_LINKS}; do \ 202 ln -fs ../en_US.UTF-8/LC_TIME \ 203 ${LOCALEDIR}/$$l.UTF-8/LC_TIME; \ 204 done 205 for l in ${GB_LINKS}; do \ 206 ln -fs ../en_GB.UTF-8/LC_TIME \ 207 ${LOCALEDIR}/$$l.UTF-8/LC_TIME; \ 208 done 209 ln -fs ../en_GB.UTF-8/LC_TIME \ 210 ${LOCALEDIR}/en_IE.UTF-8/LC_TIME 211 ln -fs ../en_US.UTF-8/LC_TIME \ 212 ${LOCALEDIR}/af_ZA.UTF-8/LC_TIME 213 ln -fs ../zh_TW.UTF-8/LC_TIME \ 214 ${LOCALEDIR}/zh_HK.UTF-8/LC_TIME 215 ln -fs ../zh_TW.UTF-8/LC_TIME \ 216 ${LOCALEDIR}/zh_HK.Big5HKSCS/LC_TIME 217 218.include <bsd.prog.mk> 219