Makefile revision 11868
1# @(#)Makefile 8.1 (Berkeley) 6/7/93 2 3PROG= mklocale 4SRCS= yacc.c lex.c 5CFLAGS+=-I. 6CLEANFILES+=y.tab.h yacc.c lex.c 7MAN1= mklocale.1 8LOCALES= ja_JP.EUC ru_SU.KOI8-R lt_LN.ASCII lt_LN.ISO_8859-1 ru_SU.CP866 9LOCALEDIR= ${DESTDIR}/usr/share/locale 10 11LATIN1LINKS = \ 12 da_DK de_AT de_CH de_DE en_AU en_CA en_GB en_US es_ES fi_FI \ 13 fr_BE fr_CA fr_CH fr_FR is_IS it_CH it_IT nl_BE nl_NL no_NO \ 14 pt_PT sv_SE 15 16afterinstall: 17 for locale in ${LOCALES}; do \ 18 mklocale -o ${LOCALEDIR}/$$locale/LC_CTYPE ${.CURDIR}/data/$$locale; \ 19 chown ${BINOWN}.${BINGRP} ${LOCALEDIR}/$$locale/LC_CTYPE; \ 20 chmod 644 ${LOCALEDIR}/$$locale/LC_CTYPE; \ 21 done 22 for l in ${LATIN1LINKS}; do \ 23 ln -fs ../lt_LN.ISO_8859-1/LC_CTYPE \ 24 ${LOCALEDIR}/$$l.ISO_8859-1/LC_CTYPE; \ 25 done 26 27.include <bsd.prog.mk> 28