Makefile revision 2474
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 8 9LOCALES= ja_JP.EUC ru_SU.KOI8-R 10LOCALEDIR= ${DESTDIR}/usr/share/locale 11 12afterinstall: 13 -if [ -d ${LOCALEDIR} ]; then true; else mkdir -p ${LOCALEDIR}; fi 14 for locale in ${LOCALES}; do \ 15 mkdir -p ${LOCALEDIR}/$$locale || true; \ 16 mklocale -o ${LOCALEDIR}/$$locale/LC_CTYPE ${.CURDIR}/$$locale; \ 17 chmod ${BINMODE} ${LOCALEDIR}/$$locale; \ 18 done 19 chown -R ${BINOWN}.${BINGRP} ${LOCALEDIR} 20 21.include <bsd.prog.mk> 22