HardenedBSD/usr.bin/mklocale/Makefile

22 lines
568 B
Makefile
Raw Normal View History

1994-05-27 14:33:43 +02: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 16:00:40 +02:00
MAN1= mklocale.1
1994-12-04 13:22:45 +01:00
LOCALES= ja_JP.EUC ru_SU.KOI8-R iso_8859_1
1994-09-03 16:00:40 +02:00
LOCALEDIR= ${DESTDIR}/usr/share/locale
afterinstall:
-if [ -d ${LOCALEDIR} ]; then true; else mkdir -p ${LOCALEDIR}; fi
for locale in ${LOCALES}; do \
mkdir -p ${LOCALEDIR}/$$locale || true; \
mklocale -o ${LOCALEDIR}/$$locale/LC_CTYPE ${.CURDIR}/$$locale; \
chmod ${BINMODE} ${LOCALEDIR}/$$locale; \
done
chown -R ${BINOWN}.${BINGRP} ${LOCALEDIR}
1994-05-27 14:33:43 +02:00
.include <bsd.prog.mk>