freebsd-dev/share/colldef/Makefile
Baptiste Daroussin 3cf6509d70 Posixify the locales name for variants
For all locales with variants:
- if no ambiguity on the locale (only one variant) just use the regular name
- if ambiguity, pick one as default and append @<variant> to the others
  respecting POSIX

As a result:
- All the 3 components locales added recently are renamed to the usual 2
  components version for all but sr_RS.UTF-8
- Set sr_RS.UTF-8 to the cyrillic variant
- Add sr_RS.UTF-8@latin
- Remove the symlinks aliases they were created to represent the 2 components
  version as aliasas and are now useless
- Update the OptionalObsoleteFiles.inc and ObsoleteFiles.inc to reflect those
  changes

Discussed with:	ache@
Approved by:	re@ (gjb)
2016-07-03 18:21:11 +00:00

232 lines
7.7 KiB
Makefile

# $FreeBSD$
# Warning: Do not edit. This file is automatically generated from the
# tools in /usr/src/tools/tools/locale.
LOCALEDIR= ${SHAREDIR}/locale
FILESNAME= LC_COLLATE
.SUFFIXES: .src .LC_COLLATE
MAPLOC= ${.CURDIR}/../../tools/tools/locale/etc/final-maps
.src.LC_COLLATE:
localedef -D -U -i ${.IMPSRC} \
-f ${MAPLOC}/map.${.TARGET:T:R:E:C/@.*//} ${.OBJDIR}/${.IMPSRC:T:R}
LOCALES+= af_ZA.UTF-8
LOCALES+= am_ET.UTF-8
LOCALES+= ar_SA.UTF-8
LOCALES+= be_BY.UTF-8
LOCALES+= ca_AD.UTF-8
LOCALES+= cs_CZ.UTF-8
LOCALES+= da_DK.UTF-8
LOCALES+= el_GR.UTF-8
LOCALES+= en_US.UTF-8
LOCALES+= es_MX.UTF-8
LOCALES+= et_EE.UTF-8
LOCALES+= fi_FI.UTF-8
LOCALES+= he_IL.UTF-8
LOCALES+= hi_IN.UTF-8
LOCALES+= hr_HR.UTF-8
LOCALES+= hu_HU.UTF-8
LOCALES+= hy_AM.UTF-8
LOCALES+= is_IS.UTF-8
LOCALES+= ja_JP.UTF-8
LOCALES+= kk_KZ.UTF-8
LOCALES+= ko_KR.UTF-8
LOCALES+= lt_LT.UTF-8
LOCALES+= lv_LV.UTF-8
LOCALES+= nb_NO.UTF-8
LOCALES+= pl_PL.UTF-8
LOCALES+= ro_RO.UTF-8
LOCALES+= ru_RU.UTF-8
LOCALES+= se_NO.UTF-8
LOCALES+= sk_SK.UTF-8
LOCALES+= sl_SI.UTF-8
LOCALES+= sv_SE.UTF-8
LOCALES+= tr_TR.UTF-8
LOCALES+= uk_UA.UTF-8
LOCALES+= zh_CN.UTF-8
LOCALES+= zh_TW.UTF-8
LOCALES_MAPPED+= af_ZA.UTF-8 af_ZA.ISO8859-15
LOCALES_MAPPED+= af_ZA.UTF-8 af_ZA.ISO8859-1
LOCALES_MAPPED+= be_BY.UTF-8 be_BY.ISO8859-5
LOCALES_MAPPED+= be_BY.UTF-8 be_BY.CP1251
LOCALES_MAPPED+= be_BY.UTF-8 be_BY.CP1131
LOCALES_MAPPED+= ru_RU.UTF-8 sr_RS.ISO8859-5
LOCALES_MAPPED+= ru_RU.UTF-8 ru_RU.KOI8-R
LOCALES_MAPPED+= ru_RU.UTF-8 ru_RU.ISO8859-5
LOCALES_MAPPED+= ru_RU.UTF-8 ru_RU.CP866
LOCALES_MAPPED+= ru_RU.UTF-8 ru_RU.CP1251
LOCALES_MAPPED+= ru_RU.UTF-8 bg_BG.CP1251
LOCALES_MAPPED+= ca_AD.UTF-8 ca_IT.ISO8859-15
LOCALES_MAPPED+= ca_AD.UTF-8 ca_IT.ISO8859-1
LOCALES_MAPPED+= ca_AD.UTF-8 ca_FR.ISO8859-15
LOCALES_MAPPED+= ca_AD.UTF-8 ca_FR.ISO8859-1
LOCALES_MAPPED+= ca_AD.UTF-8 ca_ES.ISO8859-15
LOCALES_MAPPED+= ca_AD.UTF-8 ca_ES.ISO8859-1
LOCALES_MAPPED+= ca_AD.UTF-8 ca_AD.ISO8859-15
LOCALES_MAPPED+= ca_AD.UTF-8 ca_AD.ISO8859-1
LOCALES_MAPPED+= en_US.UTF-8 sr_RS.UTF-8@latin
LOCALES_MAPPED+= en_US.UTF-8 sr_RS.ISO8859-2
LOCALES_MAPPED+= en_US.UTF-8 pt_PT.ISO8859-15
LOCALES_MAPPED+= en_US.UTF-8 pt_PT.ISO8859-1
LOCALES_MAPPED+= en_US.UTF-8 pt_BR.ISO8859-1
LOCALES_MAPPED+= en_US.UTF-8 nn_NO.ISO8859-15
LOCALES_MAPPED+= en_US.UTF-8 nn_NO.ISO8859-1
LOCALES_MAPPED+= en_US.UTF-8 nl_NL.ISO8859-15
LOCALES_MAPPED+= en_US.UTF-8 nl_NL.ISO8859-1
LOCALES_MAPPED+= en_US.UTF-8 nl_BE.ISO8859-15
LOCALES_MAPPED+= en_US.UTF-8 nl_BE.ISO8859-1
LOCALES_MAPPED+= en_US.UTF-8 it_IT.ISO8859-15
LOCALES_MAPPED+= en_US.UTF-8 it_IT.ISO8859-1
LOCALES_MAPPED+= en_US.UTF-8 it_CH.ISO8859-15
LOCALES_MAPPED+= en_US.UTF-8 it_CH.ISO8859-1
LOCALES_MAPPED+= en_US.UTF-8 fr_FR.ISO8859-15
LOCALES_MAPPED+= en_US.UTF-8 fr_FR.ISO8859-1
LOCALES_MAPPED+= en_US.UTF-8 fr_CH.ISO8859-15
LOCALES_MAPPED+= en_US.UTF-8 fr_CH.ISO8859-1
LOCALES_MAPPED+= en_US.UTF-8 fr_CA.ISO8859-15
LOCALES_MAPPED+= en_US.UTF-8 fr_CA.ISO8859-1
LOCALES_MAPPED+= en_US.UTF-8 fr_BE.ISO8859-15
LOCALES_MAPPED+= en_US.UTF-8 fr_BE.ISO8859-1
LOCALES_MAPPED+= en_US.UTF-8 eu_ES.ISO8859-15
LOCALES_MAPPED+= en_US.UTF-8 eu_ES.ISO8859-1
LOCALES_MAPPED+= en_US.UTF-8 en_ZA.US-ASCII
LOCALES_MAPPED+= en_US.UTF-8 en_ZA.ISO8859-15
LOCALES_MAPPED+= en_US.UTF-8 en_ZA.ISO8859-1
LOCALES_MAPPED+= en_US.UTF-8 en_US.US-ASCII
LOCALES_MAPPED+= en_US.UTF-8 en_US.ISO8859-15
LOCALES_MAPPED+= en_US.UTF-8 en_US.ISO8859-1
LOCALES_MAPPED+= en_US.UTF-8 en_SG.ISO8859-1
LOCALES_MAPPED+= en_US.UTF-8 en_NZ.US-ASCII
LOCALES_MAPPED+= en_US.UTF-8 en_NZ.ISO8859-15
LOCALES_MAPPED+= en_US.UTF-8 en_NZ.ISO8859-1
LOCALES_MAPPED+= en_US.UTF-8 en_IE.ISO8859-15
LOCALES_MAPPED+= en_US.UTF-8 en_IE.ISO8859-1
LOCALES_MAPPED+= en_US.UTF-8 en_HK.ISO8859-1
LOCALES_MAPPED+= en_US.UTF-8 en_GB.US-ASCII
LOCALES_MAPPED+= en_US.UTF-8 en_GB.ISO8859-15
LOCALES_MAPPED+= en_US.UTF-8 en_GB.ISO8859-1
LOCALES_MAPPED+= en_US.UTF-8 en_CA.US-ASCII
LOCALES_MAPPED+= en_US.UTF-8 en_CA.ISO8859-15
LOCALES_MAPPED+= en_US.UTF-8 en_CA.ISO8859-1
LOCALES_MAPPED+= en_US.UTF-8 en_AU.US-ASCII
LOCALES_MAPPED+= en_US.UTF-8 en_AU.ISO8859-15
LOCALES_MAPPED+= en_US.UTF-8 en_AU.ISO8859-1
LOCALES_MAPPED+= en_US.UTF-8 de_DE.ISO8859-15
LOCALES_MAPPED+= en_US.UTF-8 de_DE.ISO8859-1
LOCALES_MAPPED+= en_US.UTF-8 de_CH.ISO8859-15
LOCALES_MAPPED+= en_US.UTF-8 de_CH.ISO8859-1
LOCALES_MAPPED+= en_US.UTF-8 de_AT.ISO8859-15
LOCALES_MAPPED+= en_US.UTF-8 de_AT.ISO8859-1
LOCALES_MAPPED+= el_GR.UTF-8 el_GR.ISO8859-7
LOCALES_MAPPED+= es_MX.UTF-8 es_MX.ISO8859-1
LOCALES_MAPPED+= es_MX.UTF-8 es_ES.ISO8859-15
LOCALES_MAPPED+= es_MX.UTF-8 es_ES.ISO8859-1
LOCALES_MAPPED+= es_MX.UTF-8 es_AR.ISO8859-1
LOCALES_MAPPED+= et_EE.UTF-8 et_EE.ISO8859-15
LOCALES_MAPPED+= et_EE.UTF-8 et_EE.ISO8859-1
LOCALES_MAPPED+= fi_FI.UTF-8 fi_FI.ISO8859-15
LOCALES_MAPPED+= fi_FI.UTF-8 fi_FI.ISO8859-1
LOCALES_MAPPED+= hi_IN.UTF-8 hi_IN.ISCII-DEV
LOCALES_MAPPED+= hy_AM.UTF-8 hy_AM.ARMSCII-8
LOCALES_MAPPED+= is_IS.UTF-8 is_IS.ISO8859-15
LOCALES_MAPPED+= is_IS.UTF-8 is_IS.ISO8859-1
LOCALES_MAPPED+= ja_JP.UTF-8 ja_JP.SJIS
LOCALES_MAPPED+= ja_JP.UTF-8 ja_JP.eucJP
LOCALES_MAPPED+= ko_KR.UTF-8 ko_KR.eucKR
LOCALES_MAPPED+= lt_LT.UTF-8 lt_LT.ISO8859-13
LOCALES_MAPPED+= lv_LV.UTF-8 lv_LV.ISO8859-13
LOCALES_MAPPED+= pl_PL.UTF-8 pl_PL.ISO8859-2
LOCALES_MAPPED+= ro_RO.UTF-8 ro_RO.ISO8859-2
LOCALES_MAPPED+= sl_SI.UTF-8 sl_SI.ISO8859-2
LOCALES_MAPPED+= sv_SE.UTF-8 sv_SE.ISO8859-15
LOCALES_MAPPED+= sv_SE.UTF-8 sv_SE.ISO8859-1
LOCALES_MAPPED+= sv_SE.UTF-8 sv_FI.ISO8859-15
LOCALES_MAPPED+= sv_SE.UTF-8 sv_FI.ISO8859-1
LOCALES_MAPPED+= tr_TR.UTF-8 tr_TR.ISO8859-9
LOCALES_MAPPED+= uk_UA.UTF-8 uk_UA.KOI8-U
LOCALES_MAPPED+= uk_UA.UTF-8 uk_UA.ISO8859-5
LOCALES_MAPPED+= uk_UA.UTF-8 uk_UA.CP1251
LOCALES_MAPPED+= zh_CN.UTF-8 zh_CN.GBK
LOCALES_MAPPED+= zh_CN.UTF-8 zh_CN.GB18030
LOCALES_MAPPED+= zh_TW.UTF-8 zh_TW.Big5
LOCALES+= cs_CZ.ISO8859-2
LOCALES+= da_DK.ISO8859-1
LOCALES+= da_DK.ISO8859-15
LOCALES+= hr_HR.ISO8859-2
LOCALES+= hu_HU.ISO8859-2
LOCALES+= nb_NO.ISO8859-1
LOCALES+= nb_NO.ISO8859-15
LOCALES+= sk_SK.ISO8859-2
LOCALES+= zh_CN.GB2312
LOCALES+= zh_CN.eucCN
SAME+= ar_SA.UTF-8 ar_QA.UTF-8
SAME+= ar_SA.UTF-8 ar_MA.UTF-8
SAME+= ar_SA.UTF-8 ar_JO.UTF-8
SAME+= ar_SA.UTF-8 ar_EG.UTF-8
SAME+= ar_SA.UTF-8 ar_AE.UTF-8
SAME+= ru_RU.UTF-8 sr_RS.UTF-8
SAME+= ru_RU.UTF-8 mn_MN.UTF-8
SAME+= ru_RU.UTF-8 bg_BG.UTF-8
SAME+= ca_AD.UTF-8 ca_IT.UTF-8
SAME+= ca_AD.UTF-8 ca_FR.UTF-8
SAME+= ca_AD.UTF-8 ca_ES.UTF-8
SAME+= en_US.UTF-8 pt_PT.UTF-8
SAME+= en_US.UTF-8 pt_BR.UTF-8
SAME+= en_US.UTF-8 nn_NO.UTF-8
SAME+= en_US.UTF-8 nl_NL.UTF-8
SAME+= en_US.UTF-8 nl_BE.UTF-8
SAME+= en_US.UTF-8 it_IT.UTF-8
SAME+= en_US.UTF-8 it_CH.UTF-8
SAME+= en_US.UTF-8 fr_FR.UTF-8
SAME+= en_US.UTF-8 fr_CH.UTF-8
SAME+= en_US.UTF-8 fr_CA.UTF-8
SAME+= en_US.UTF-8 fr_BE.UTF-8
SAME+= en_US.UTF-8 eu_ES.UTF-8
SAME+= en_US.UTF-8 en_ZA.UTF-8
SAME+= en_US.UTF-8 en_SG.UTF-8
SAME+= en_US.UTF-8 en_PH.UTF-8
SAME+= en_US.UTF-8 en_NZ.UTF-8
SAME+= en_US.UTF-8 en_IE.UTF-8
SAME+= en_US.UTF-8 en_HK.UTF-8
SAME+= en_US.UTF-8 en_GB.UTF-8
SAME+= en_US.UTF-8 en_CA.UTF-8
SAME+= en_US.UTF-8 en_AU.UTF-8
SAME+= en_US.UTF-8 de_DE.UTF-8
SAME+= en_US.UTF-8 de_CH.UTF-8
SAME+= en_US.UTF-8 de_AT.UTF-8
SAME+= es_MX.UTF-8 es_ES.UTF-8
SAME+= es_MX.UTF-8 es_CR.UTF-8
SAME+= es_MX.UTF-8 es_AR.UTF-8
SAME+= se_NO.UTF-8 se_FI.UTF-8
SAME+= sv_SE.UTF-8 sv_FI.UTF-8
SAME+= zh_TW.UTF-8 zh_HK.UTF-8
SAME+= ko_KR.eucKR ko_KR.CP949 # legacy (same charset)
FILES= ${LOCALES:S/$/.LC_COLLATE/}
CLEANFILES= ${FILES}
.for f t in ${SAME}
SYMLINKS+= ../$f/${FILESNAME} \
${LOCALEDIR}/$t/${FILESNAME}
.endfor
.for f in ${LOCALES}
FILESDIR_${f}.LC_COLLATE= ${LOCALEDIR}/${f}
.endfor
.for f t in ${LOCALES_MAPPED}
FILES+= $t.LC_COLLATE
FILESDIR_$t.LC_COLLATE= ${LOCALEDIR}/$t
$t.LC_COLLATE: ${.CURDIR}/$f.src
localedef -D -U -i ${.ALLSRC} \
-f ${MAPLOC}/map.${.TARGET:T:R:E:C/@.*//} \
${.OBJDIR}/${.TARGET:T:R}
.endfor
.include <bsd.prog.mk>