Dig out full locale names set for ISO8859-1 (great success!)

This commit is contained in:
Andrey A. Chernov 1994-12-04 21:11:29 +00:00
parent aca02e247c
commit 35daa0b773
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=4971

View File

@ -5,9 +5,11 @@ SRCS= yacc.c lex.c
CFLAGS+=-I. CFLAGS+=-I.
CLEANFILES+=y.tab.h yacc.c lex.c CLEANFILES+=y.tab.h yacc.c lex.c
MAN1= mklocale.1 MAN1= mklocale.1
ISO88591= lt_LN.ISO8859-1
LOCALES= ja_JP.EUC ru_SU.KOI8-R ISO88591NAMES= da_DK de_DE de_AT de_CH en_GB en_AU en_CA en_US \
ISO88591LOCALES= lt_LN.ISO8859-1 # need more names here es_ES fi_FI fr_FR fr_BE fr_CA fr_CH is_IS it_IT it_CH \
nl_NL nl_BE no_NO pt_PT sv_SE
LOCALES= ja_JP.EUC ru_SU.KOI8-R ${ISO88591}
LOCALEDIR= ${DESTDIR}/usr/share/locale LOCALEDIR= ${DESTDIR}/usr/share/locale
afterinstall: afterinstall:
@ -17,10 +19,8 @@ afterinstall:
mklocale -o ${LOCALEDIR}/$$locale/LC_CTYPE ${.CURDIR}/data/$$locale; \ mklocale -o ${LOCALEDIR}/$$locale/LC_CTYPE ${.CURDIR}/data/$$locale; \
chmod ${BINMODE} ${LOCALEDIR}/$$locale; \ chmod ${BINMODE} ${LOCALEDIR}/$$locale; \
done done
for locale in ${ISO88591LOCALES}; do \ cd ${LOCALEDIR}; for locale in ${ISO88591NAMES}; do \
mkdir -p ${LOCALEDIR}/$$locale || true; \ ln -s ${ISO88591} $$locale.ISO8859-1; \
mklocale -o ${LOCALEDIR}/$$locale/LC_CTYPE ${.CURDIR}/data/iso_8859_1; \
chmod ${BINMODE} ${LOCALEDIR}/$$locale; \
done done
chown -R ${BINOWN}.${BINGRP} ${LOCALEDIR} chown -R ${BINOWN}.${BINGRP} ${LOCALEDIR}