summaryrefslogtreecommitdiffstats
path: root/etc/Makefile
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2001-06-10 16:36:09 +0000
committerache <ache@FreeBSD.org>2001-06-10 16:36:09 +0000
commitfed9bc8f1cc9a5ad70d3206ccbed88ec50ec95e1 (patch)
tree10c68da1b126f950ebfe8418fb4d8ae004f947af /etc/Makefile
parent8633e3d6ad2f1fd5eaa4ae794a37594fb68b8600 (diff)
downloadFreeBSD-src-fed9bc8f1cc9a5ad70d3206ccbed88ec50ec95e1.zip
FreeBSD-src-fed9bc8f1cc9a5ad70d3206ccbed88ec50ec95e1.tar.gz
Fix Latin1 man directories for new locale names
Diffstat (limited to 'etc/Makefile')
-rw-r--r--etc/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/etc/Makefile b/etc/Makefile
index dcd062e..5d2d4d6 100644
--- a/etc/Makefile
+++ b/etc/Makefile
@@ -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 ] ; \
OpenPOWER on IntegriCloud