diff options
author | wollman <wollman@FreeBSD.org> | 2001-02-09 20:59:18 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 2001-02-09 20:59:18 +0000 |
commit | 820e3e851b5e0406c056e5355a8791cffade00d2 (patch) | |
tree | 83736cfaa422d6e9a8fdd83992c900b9af2f2384 /share/msgdef | |
parent | 6e319b65bdddfe6c6b2d441984f7759336930a92 (diff) | |
download | FreeBSD-src-820e3e851b5e0406c056e5355a8791cffade00d2.zip FreeBSD-src-820e3e851b5e0406c056e5355a8791cffade00d2.tar.gz |
Add additional English-language locales (en_AU, en_CA, en_GB, and en_NZ)
and an additional English-language locale (fr_CA).
Use make(1) loops rather than sh(1) loops.
Diffstat (limited to 'share/msgdef')
-rw-r--r-- | share/msgdef/Makefile | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/share/msgdef/Makefile b/share/msgdef/Makefile index 667664d..0904970 100644 --- a/share/msgdef/Makefile +++ b/share/msgdef/Makefile @@ -15,6 +15,12 @@ LOCALES= af_ZA.ISO_8859-1 \ ru_RU.KOI8-R \ sv_SE.ISO_8859-1 +ENGLISH= en_US.ISO_8859-1 +ENGLISHLINKS= en_AU.ISO_8859-1 en_CA.ISO_8859-1 en_GB.ISO_8859-1 \ + en_NZ.ISO_8859-1 +FRENCH= fr_FR.ISO_8859-1 +FRENCHLINKS= fr_CA.ISO_8859-1 fr_CH.ISO_8859-1 + LOCALEDIR= ${DESTDIR}/usr/share/locale .SUFFIXES: .src .out @@ -25,9 +31,15 @@ LOCALEDIR= ${DESTDIR}/usr/share/locale all: ${LOCALES:S/$/.out/g} afterinstall: - for l in ${LOCALES}; do \ - ${INSTALL} ${COPY} -m 644 -o ${BINOWN} -g ${BINGRP} $$l.out \ - ${LOCALEDIR}/$$l/LC_MESSAGES; \ - done +.for lang in ${LOCALES} + ${INSTALL} ${COPY} -m 644 -o ${BINOWN} -g ${BINGRP} ${lang}.out \ + ${LOCALEDIR}/${lang}/LC_MESSAGES +.endfor +.for link in ${ENGLISHLINKS} + ln -sf ../${ENGLISH}/LC_MESSAGES ${LOCALEDIR}/${link}/LC_MESSAGES +.endfor +.for link in ${FRENCHLINKS} + ln -sf ../${FRENCH}/LC_MESSAGES ${LOCALEDIR}/${link}/LC_MESSAGES +.endfor .include <bsd.prog.mk> |