summaryrefslogtreecommitdiffstats
path: root/bin/csh
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2000-04-20 08:58:11 +0000
committerache <ache@FreeBSD.org>2000-04-20 08:58:11 +0000
commit926637962b162ec48abcdffaca3dd14d2ff65dd1 (patch)
treeab29e5f4e70394638e1ce058cc47757996072f8e /bin/csh
parent7f0b584d006da906263fdfd36f7635a704320dc8 (diff)
downloadFreeBSD-src-926637962b162ec48abcdffaca3dd14d2ff65dd1.zip
FreeBSD-src-926637962b162ec48abcdffaca3dd14d2ff65dd1.tar.gz
Activate NLS.
Optimize NLS by not wasting space copying the same .cat but use symbolic links instead.
Diffstat (limited to 'bin/csh')
-rw-r--r--bin/csh/Makefile1
-rw-r--r--bin/csh/nls/finnish/Makefile10
-rw-r--r--bin/csh/nls/french/Makefile13
-rw-r--r--bin/csh/nls/german/Makefile12
-rw-r--r--bin/csh/nls/greek/Makefile6
-rw-r--r--bin/csh/nls/italian/Makefile11
-rw-r--r--bin/csh/nls/ja/Makefile6
-rw-r--r--bin/csh/nls/spanish/Makefile10
8 files changed, 38 insertions, 31 deletions
diff --git a/bin/csh/Makefile b/bin/csh/Makefile
index 0a048c3..c9ae4b8 100644
--- a/bin/csh/Makefile
+++ b/bin/csh/Makefile
@@ -10,6 +10,7 @@ TCSHDIR= ${.CURDIR}/../../contrib/tcsh
.PATH: ${TCSHDIR}
PROG= csh
+SUBDIR= nls
DFLAGS= -D_PATH_TCSHELL='"${DESTDIR}/bin/${PROG}"'
CFLAGS+= -I${TCSHDIR} -I${.CURDIR} -I. ${DFLAGS}
SRCS= sh.c sh.dir.c sh.dol.c sh.err.c sh.exec.c sh.char.c \
diff --git a/bin/csh/nls/finnish/Makefile b/bin/csh/nls/finnish/Makefile
index 6756537..9397548 100644
--- a/bin/csh/nls/finnish/Makefile
+++ b/bin/csh/nls/finnish/Makefile
@@ -3,7 +3,8 @@
.include "${.CURDIR}/../Makefile.inc"
NL= finnish
-DL= fi_FI.ISO_8859-1 fi_FI.DIS_8859-15
+DL= fi_FI.ISO_8859-1
+LL= fi_FI.DIS_8859-15
.PATH: ${BASESRC}/${NL}
@@ -16,9 +17,10 @@ tcsh.msg: set[0-9]*
${BASESRC}/${NL}/set[0-9][0-9] > ${.TARGET}
install:
-.for i in ${DL}
- ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
- tcsh.cat ${DESTDIR}${NLSDIR}/$i/tcsh.cat
+ ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
+ tcsh.cat ${DESTDIR}${NLSDIR}/${DL}/tcsh.cat
+.for i in ${LL}
+ ln -fs ../${DL}/tcsh.cat ${DESTDIR}${NLSDIR}/$i/tcsh.cat
.endfor
.include <bsd.obj.mk>
diff --git a/bin/csh/nls/french/Makefile b/bin/csh/nls/french/Makefile
index 06b3d85..2ab3f14 100644
--- a/bin/csh/nls/french/Makefile
+++ b/bin/csh/nls/french/Makefile
@@ -3,8 +3,10 @@
.include "${.CURDIR}/../Makefile.inc"
NL= french
-DL= fr_BE.ISO_8859-1 fr_CA.ISO_8859-1 fr_CH.ISO_8859-1 fr_FR.ISO_8859-1 \
- fr_BE.DIS_8859-15 fr_CA.DIS_8859-15 fr_CH.DIS_8859-15 fr_FR.DIS_8859-15
+DL= fr_FR.ISO_8859-1
+LL= fr_BE.ISO_8859-1 fr_CA.ISO_8859-1 fr_CH.ISO_8859-1 \
+ fr_BE.DIS_8859-15 fr_CA.DIS_8859-15 fr_CH.DIS_8859-15 \
+ fr_FR.DIS_8859-15
.PATH: ${BASESRC}/${NL}
@@ -17,9 +19,10 @@ tcsh.msg: set[0-9]*
${BASESRC}/${NL}/set[0-9][0-9] > ${.TARGET}
install:
-.for i in ${DL}
- ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
- tcsh.cat ${DESTDIR}${NLSDIR}/$i/tcsh.cat
+ ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
+ tcsh.cat ${DESTDIR}${NLSDIR}/${DL}/tcsh.cat
+.for i in ${LL}
+ ln -fs ../${DL}/tcsh.cat ${DESTDIR}${NLSDIR}/$i/tcsh.cat
.endfor
.include <bsd.obj.mk>
diff --git a/bin/csh/nls/german/Makefile b/bin/csh/nls/german/Makefile
index f109611..f4c55e2 100644
--- a/bin/csh/nls/german/Makefile
+++ b/bin/csh/nls/german/Makefile
@@ -3,8 +3,9 @@
.include "${.CURDIR}/../Makefile.inc"
NL= german
-DL= de_AT.ISO_8859-1 de_CH.ISO_8859-1 de_DE.ISO_8859-1 \
- de_AT.DIS_8859-15 de_CH.DIS_8859-15 de_DE.DIS_8859-15
+DL= de_DE.ISO_8859-1
+LL= de_AT.ISO_8859-1 de_CH.ISO_8859-1 de_AT.DIS_8859-15 \
+ de_CH.DIS_8859-15 de_DE.DIS_8859-15
.PATH: ${BASESRC}/${NL}
@@ -17,9 +18,10 @@ tcsh.msg: set[0-9]*
${BASESRC}/${NL}/set[0-9][0-9] > ${.TARGET}
install:
-.for i in ${DL}
- ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
- tcsh.cat ${DESTDIR}${NLSDIR}/$i/tcsh.cat
+ ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
+ tcsh.cat ${DESTDIR}${NLSDIR}/${DL}/tcsh.cat
+.for i in ${LL}
+ ln -fs ../${DL}/tcsh.cat ${DESTDIR}${NLSDIR}/$i/tcsh.cat
.endfor
.include <bsd.obj.mk>
diff --git a/bin/csh/nls/greek/Makefile b/bin/csh/nls/greek/Makefile
index af20ee2..1809d8d 100644
--- a/bin/csh/nls/greek/Makefile
+++ b/bin/csh/nls/greek/Makefile
@@ -16,9 +16,7 @@ tcsh.msg: set[0-9]*
${BASESRC}/${NL}/set[0-9][0-9] > ${.TARGET}
install:
-.for i in ${DL}
- ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
- tcsh.cat ${DESTDIR}${NLSDIR}/$i/tcsh.cat
-.endfor
+ ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
+ tcsh.cat ${DESTDIR}${NLSDIR}/${DL}/tcsh.cat
.include <bsd.obj.mk>
diff --git a/bin/csh/nls/italian/Makefile b/bin/csh/nls/italian/Makefile
index 5cf3564..0f97290 100644
--- a/bin/csh/nls/italian/Makefile
+++ b/bin/csh/nls/italian/Makefile
@@ -3,8 +3,8 @@
.include "${.CURDIR}/../Makefile.inc"
NL= italian
-DL= it_IT.ISO_8859-1 it_CH.ISO_8859-1 \
- it_IT.DIS_8859-15 it_CH.DIS_8859-15
+DL= it_IT.ISO_8859-1
+LL= it_CH.ISO_8859-1 it_IT.DIS_8859-15 it_CH.DIS_8859-15
.PATH: ${BASESRC}/${NL}
@@ -17,9 +17,10 @@ tcsh.msg: set[0-9]*
${BASESRC}/${NL}/set[0-9][0-9] > ${.TARGET}
install:
-.for i in ${DL}
- ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
- tcsh.cat ${DESTDIR}${NLSDIR}/$i/tcsh.cat
+ ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
+ tcsh.cat ${DESTDIR}${NLSDIR}/${DL}/tcsh.cat
+.for i in ${LL}
+ ln -fs ../${DL}/tcsh.cat ${DESTDIR}${NLSDIR}/$i/tcsh.cat
.endfor
.include <bsd.obj.mk>
diff --git a/bin/csh/nls/ja/Makefile b/bin/csh/nls/ja/Makefile
index 2b29fa2..a8e1d57 100644
--- a/bin/csh/nls/ja/Makefile
+++ b/bin/csh/nls/ja/Makefile
@@ -16,9 +16,7 @@ tcsh.msg: set[0-9]*
${BASESRC}/${NL}/set[0-9][0-9] > ${.TARGET}
install:
-.for i in ${DL}
- ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
- tcsh.cat ${DESTDIR}${NLSDIR}/$i/tcsh.cat
-.endfor
+ ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
+ tcsh.cat ${DESTDIR}${NLSDIR}/${DL}/tcsh.cat
.include <bsd.obj.mk>
diff --git a/bin/csh/nls/spanish/Makefile b/bin/csh/nls/spanish/Makefile
index c0bc154..9ddff79 100644
--- a/bin/csh/nls/spanish/Makefile
+++ b/bin/csh/nls/spanish/Makefile
@@ -3,7 +3,8 @@
.include "${.CURDIR}/../Makefile.inc"
NL= spanish
-DL= es_ES.ISO_8859-1 es_ES.DIS_8859-15
+DL= es_ES.ISO_8859-1
+LL= es_ES.DIS_8859-15
.PATH: ${BASESRC}/${NL}
@@ -16,9 +17,10 @@ tcsh.msg: set[0-9]*
${BASESRC}/${NL}/set[0-9][0-9] > ${.TARGET}
install:
-.for i in ${DL}
- ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
- tcsh.cat ${DESTDIR}${NLSDIR}/$i/tcsh.cat
+ ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
+ tcsh.cat ${DESTDIR}${NLSDIR}/${DL}/tcsh.cat
+.for i in ${LL}
+ ln -fs ../${DL}/tcsh.cat ${DESTDIR}${NLSDIR}/$i/tcsh.cat
.endfor
.include <bsd.obj.mk>
OpenPOWER on IntegriCloud