mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-19 01:11:05 +01:00
a1c128ae2a
Submitted by: alex@elvisti.kiev.ua
23 lines
561 B
Makefile
23 lines
561 B
Makefile
# $Id: Makefile,v 1.2 1995/01/23 08:56:06 alex Exp alex $
|
|
|
|
PROG = colldef
|
|
LFLAGS = -8 -i
|
|
YFLAGS = -d
|
|
CFLAGS += -I. -I${.CURDIR}/../../lib/libc/locale
|
|
SRCS = parse.y scan.l
|
|
LDADD = -ll
|
|
DPADD = ${LIBL}
|
|
CLEANFILES = y.tab.[ch] lex.yy.c
|
|
|
|
LOCALES= ru_SU.KOI8-R lt_LN.ISO8859-1
|
|
LOCALEDIR= ${DESTDIR}/usr/share/locale
|
|
|
|
afterinstall:
|
|
for l in ${LOCALES}; do \
|
|
colldef -o ${LOCALEDIR}/$$l/LC_COLLATE ${.CURDIR}/data/$$l; \
|
|
chown ${BINOWN}.${BINGRP} ${LOCALEDIR}/$$l/LC_COLLATE; \
|
|
chmod 644 ${LOCALEDIR}/$$l/LC_COLLATE; \
|
|
done
|
|
|
|
.include <bsd.prog.mk>
|