summaryrefslogtreecommitdiffstats
path: root/usr.bin/colldef/Makefile
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1995-10-22 00:58:41 +0000
committerache <ache@FreeBSD.org>1995-10-22 00:58:41 +0000
commit16a13547361f91857580b9ad524a5e8f41a7768a (patch)
tree367ad23461cec128d0be5ab92ce93c6837c6a17f /usr.bin/colldef/Makefile
parentd350e5d64454a86a2c56385c2465e0310c2bb9bd (diff)
downloadFreeBSD-src-16a13547361f91857580b9ad524a5e8f41a7768a.zip
FreeBSD-src-16a13547361f91857580b9ad524a5e8f41a7768a.tar.gz
Link LC_COLLATE inside dirs instead of dirs linking
Diffstat (limited to 'usr.bin/colldef/Makefile')
-rw-r--r--usr.bin/colldef/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/usr.bin/colldef/Makefile b/usr.bin/colldef/Makefile
index 06500c2..9edfdb9 100644
--- a/usr.bin/colldef/Makefile
+++ b/usr.bin/colldef/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.3 1995/06/19 22:15:35 asami Exp $
+# $Id: Makefile,v 1.4 1995/09/28 18:23:34 bde Exp $
PROG = colldef
LFLAGS = -8 -i
@@ -12,11 +12,20 @@ CLEANFILES += lex.yy.c parse.c scan.c y.tab.[ch]
LOCALES= ru_SU.KOI8-R ru_SU.CP866 lt_LN.ISO_8859-1
LOCALEDIR= ${DESTDIR}/usr/share/locale
+LATIN1LINKS = \
+ da_DK de_AT de_CH de_DE en_AU en_CA en_GB en_US es_ES fi_FI \
+ fr_BE fr_CA fr_CH fr_FR is_IS it_CH it_IT nl_BE nl_NL no_NO \
+ pt_PT sv_SE
+
afterinstall:
for l in ${LOCALES}; do \
colldef -o ${LOCALEDIR}/$$l/LC_COLLATE ${.CURDIR}/data/$$l; \
chown ${BINOWN}.${BINGRP} ${LOCALEDIR}/$$l/LC_COLLATE; \
chmod 644 ${LOCALEDIR}/$$l/LC_COLLATE; \
done
+ for l in ${LATIN1LINKS}; do \
+ ln -fs ../lt_LN.ISO_8859-1/LC_COLLATE \
+ ${LOCALEDIR}/$$l.ISO_8859-1/LC_COLLATE; \
+ done
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud