freebsd-dev/usr.bin/mklocale/Makefile

28 lines
793 B
Makefile
Raw Normal View History

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-10-28 13:32:30 +00:00
LOCALES= ja_JP.EUC ru_SU.KOI8-R lt_LN.ASCII lt_LN.ISO_8859-1 ru_SU.CP866
1994-09-03 14:00:40 +00:00
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
1994-09-03 14:00:40 +00:00
afterinstall:
for locale in ${LOCALES}; do \
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
for l in ${LATIN1LINKS}; do \
ln -fs ../lt_LN.ISO_8859-1/LC_CTYPE \
${LOCALEDIR}/$$l.ISO_8859-1/LC_CTYPE; \
done
1994-05-27 12:33:43 +00:00
.include <bsd.prog.mk>