Fix Latin1 man directories for new locale names

This commit is contained in:
Andrey A. Chernov 2001-06-10 16:36:09 +00:00
parent 4524e002f7
commit 5d392cddf6
3 changed files with 15 additions and 2 deletions

View File

@ -171,7 +171,15 @@ distrib-dirs:
mtree -deU ${MTREE_FOLLOWS_SYMLINKS} -f ${.CURDIR}/mtree/BSD.include.dist \
-p ${DESTDIR}/usr/libdata/perl/5.6.0/mach
cd ${DESTDIR}/; rm -f ${DESTDIR}/sys; ln -s usr/src/sys sys
cd ${DESTDIR}/usr/share/man/en.ISO_8859-1; ln -sf ../man* .
cd ${DESTDIR}/usr/share/man/en.ISO8859-1; ln -sf ../man* .
cd ${DESTDIR}/usr/share/man; \
set - `grep "^[a-zA-Z]" ${.CURDIR}/man.alias`; \
while [ $$# -gt 0 ] ; \
do \
rm -rf "$$1"; \
ln -s "$$2" "$$1"; \
shift; shift; \
done
cd ${DESTDIR}/usr/share/locale; \
set - `grep "^[a-zA-Z]" ${.CURDIR}/locale.alias`; \
while [ $$# -gt 0 ] ; \

5
etc/man.alias Normal file
View File

@ -0,0 +1,5 @@
# $FreeBSD$
en.ISO_8859-1 en.ISO8859-1
en.ISO8859-15 en.ISO8859-1
en.ISO_8859-15 en.ISO8859-1

View File

@ -660,7 +660,7 @@
..
catn
..
en.ISO_8859-1 uname=root
en.ISO8859-1 uname=root
cat1
..
cat1aout