From 35daa0b773652e5457be1ab0b4324ff120ccb2ed Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Sun, 4 Dec 1994 21:11:29 +0000 Subject: [PATCH] Dig out full locale names set for ISO8859-1 (great success!) --- usr.bin/mklocale/Makefile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/usr.bin/mklocale/Makefile b/usr.bin/mklocale/Makefile index 1e5801e9fd01..44e305b48cb5 100644 --- a/usr.bin/mklocale/Makefile +++ b/usr.bin/mklocale/Makefile @@ -5,9 +5,11 @@ SRCS= yacc.c lex.c CFLAGS+=-I. CLEANFILES+=y.tab.h yacc.c lex.c MAN1= mklocale.1 - -LOCALES= ja_JP.EUC ru_SU.KOI8-R -ISO88591LOCALES= lt_LN.ISO8859-1 # need more names here +ISO88591= lt_LN.ISO8859-1 +ISO88591NAMES= da_DK de_DE de_AT de_CH en_GB en_AU en_CA en_US \ + 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 afterinstall: @@ -17,10 +19,8 @@ afterinstall: mklocale -o ${LOCALEDIR}/$$locale/LC_CTYPE ${.CURDIR}/data/$$locale; \ chmod ${BINMODE} ${LOCALEDIR}/$$locale; \ done - for locale in ${ISO88591LOCALES}; do \ - mkdir -p ${LOCALEDIR}/$$locale || true; \ - mklocale -o ${LOCALEDIR}/$$locale/LC_CTYPE ${.CURDIR}/data/iso_8859_1; \ - chmod ${BINMODE} ${LOCALEDIR}/$$locale; \ + cd ${LOCALEDIR}; for locale in ${ISO88591NAMES}; do \ + ln -s ${ISO88591} $$locale.ISO8859-1; \ done chown -R ${BINOWN}.${BINGRP} ${LOCALEDIR}