1994-05-27 12:33:43 +00:00
|
|
|
# @(#)Makefile 8.1 (Berkeley) 6/7/93
|
|
|
|
|
|
|
|
PROG= mklocale
|
|
|
|
SRCS= yacc.c lex.c
|
|
|
|
CFLAGS+=-I.
|
|
|
|
CLEANFILES+=y.tab.h yacc.c lex.c
|
1994-09-03 14:00:40 +00:00
|
|
|
MAN1= mklocale.1
|
1995-06-17 03:25:34 +00:00
|
|
|
LOCALES= ja_JP.EUC ru_SU.KOI8-R lt_LN.ISO_8859-1 ru_SU.CP866
|
1994-09-03 14:00:40 +00:00
|
|
|
LOCALEDIR= ${DESTDIR}/usr/share/locale
|
|
|
|
|
|
|
|
afterinstall:
|
|
|
|
for locale in ${LOCALES}; do \
|
1994-12-04 19:52:31 +00:00
|
|
|
mklocale -o ${LOCALEDIR}/$$locale/LC_CTYPE ${.CURDIR}/data/$$locale; \
|
1995-01-30 15:34:06 +00:00
|
|
|
chown ${BINOWN}.${BINGRP} ${LOCALEDIR}/$$locale/LC_CTYPE; \
|
|
|
|
chmod 644 ${LOCALEDIR}/$$locale/LC_CTYPE; \
|
1994-09-03 14:00:40 +00:00
|
|
|
done
|
1994-05-27 12:33:43 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|