summaryrefslogtreecommitdiffstats
path: root/share/msgdef
diff options
context:
space:
mode:
authorphantom <phantom@FreeBSD.org>2001-12-25 10:57:03 +0000
committerphantom <phantom@FreeBSD.org>2001-12-25 10:57:03 +0000
commita74b673ea9be422eeb971824aab0fea31557fd7f (patch)
treed97070ce23ec6c8a60f0939473a35b015d30419e /share/msgdef
parent8e65f0dbb2743cbccc063c47d2a19395f703539e (diff)
downloadFreeBSD-src-a74b673ea9be422eeb971824aab0fea31557fd7f.zip
FreeBSD-src-a74b673ea9be422eeb971824aab0fea31557fd7f.tar.gz
Optimize locale data Makefiles as well as make their style more consistent.
Diffstat (limited to 'share/msgdef')
-rw-r--r--share/msgdef/Makefile48
1 files changed, 22 insertions, 26 deletions
diff --git a/share/msgdef/Makefile b/share/msgdef/Makefile
index fc438ac..54b86bf 100644
--- a/share/msgdef/Makefile
+++ b/share/msgdef/Makefile
@@ -3,7 +3,7 @@
NOMAN=YES
CLEANFILES+= ${LOCALES:S/$/.out/g}
-LOCALES= af_ZA.ISO8859-1 \
+LOCALES= af_ZA.ISO8859-1 \
bg_BG.CP1251 \
cs_CZ.ISO8859-2 \
da_DK.ISO8859-1 \
@@ -39,20 +39,16 @@ LOCALES= af_ZA.ISO8859-1 \
zh_TW.Big5 \
zh_CN.eucCN
-ASCIILINKS = en_CA en_GB en_US
-8859_15_LINKS = af_ZA da_DK de_DE en_CA en_GB en_US es_ES fi_FI fr_CH \
- fr_FR is_IS is_IS it_IT nl_NL no_NO pt_PT sv_SE
+LOCALEDIR= ${DESTDIR}/usr/share/locale
-ENGLISH= en_GB
-ENGLISHLINKS= en_AU en_NZ
-FRENCH= fr_FR
-FRENCHLINKS= fr_CA
-GERMAN= de_DE
-GERMANLINKS= de_AT
-CZECH= cs_CZ
-CZECHLINKS= sk_SK
+ASCIILINKS= en_CA en_GB en_US
+LATIN15LINKS= af_ZA da_DK de_DE en_CA en_GB en_US es_ES fi_FI fr_CH \
+ fr_FR is_IS it_IT nl_NL no_NO pt_PT sv_SE
-LOCALEDIR= ${DESTDIR}/usr/share/locale
+GB_LINKS= en_AU en_NZ
+FR_LINKS= fr_CA
+DE_LINKS= de_AT
+CZ_LINKS= sk_SK
.SUFFIXES: .src .out
@@ -68,32 +64,32 @@ afterinstall:
${INSTALL} ${COPY} -m 644 -o ${BINOWN} -g ${BINGRP} ${lang}.out \
${LOCALEDIR}/${lang}/LC_MESSAGES
.endfor
-.for link in ${8859_15_LINKS}
+.for link in ${LATIN15LINKS}
ln -sf ../${link}.ISO8859-1/LC_MESSAGES \
${LOCALEDIR}/${link}.ISO8859-15/LC_MESSAGES
.endfor
-.for link in ${ENGLISHLINKS}
- ln -sf ../${ENGLISH}.ISO8859-1/LC_MESSAGES \
+.for link in ${GB_LINKS}
+ ln -sf ../en_GB.ISO8859-1/LC_MESSAGES \
${LOCALEDIR}/${link}.ISO8859-1/LC_MESSAGES
- ln -sf ../${ENGLISH}.ISO8859-1/LC_MESSAGES \
+ ln -sf ../en_GB.ISO8859-1/LC_MESSAGES \
${LOCALEDIR}/${link}.ISO8859-15/LC_MESSAGES
- ln -sf ../${ENGLISH}.ISO8859-1/LC_MESSAGES \
+ ln -sf ../en_GB.ISO8859-1/LC_MESSAGES \
${LOCALEDIR}/${link}.US-ASCII/LC_MESSAGES
.endfor
-.for link in ${FRENCHLINKS}
- ln -sf ../${FRENCH}.ISO8859-1/LC_MESSAGES \
+.for link in ${FR_LINKS}
+ ln -sf ../fr_FR.ISO8859-1/LC_MESSAGES \
${LOCALEDIR}/${link}.ISO8859-1/LC_MESSAGES
- ln -sf ../${FRENCH}.ISO8859-1/LC_MESSAGES \
+ ln -sf ../fr_FR.ISO8859-1/LC_MESSAGES \
${LOCALEDIR}/${link}.ISO8859-15/LC_MESSAGES
.endfor
-.for link in ${GERMANLINKS}
- ln -sf ../${GERMAN}.ISO8859-1/LC_MESSAGES \
+.for link in ${DE_LINKS}
+ ln -sf ../de_DE.ISO8859-1/LC_MESSAGES \
${LOCALEDIR}/${link}.ISO8859-1/LC_MESSAGES
- ln -sf ../${GERMAN}.ISO8859-1/LC_MESSAGES \
+ ln -sf ../de_DE.ISO8859-1/LC_MESSAGES \
${LOCALEDIR}/${link}.ISO8859-15/LC_MESSAGES
.endfor
-.for link in ${CZECHLINKS}
- ln -sf ../${CZECH}.ISO8859-2/LC_MESSAGES \
+.for link in ${CZ_LINKS}
+ ln -sf ../cs_CZ.ISO8859-2/LC_MESSAGES \
${LOCALEDIR}/${link}.ISO8859-2/LC_MESSAGES
.endfor
.for link in ${ASCIILINKS}
OpenPOWER on IntegriCloud