summaryrefslogtreecommitdiffstats
path: root/usr.bin/colldef/Makefile
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1995-02-17 17:29:50 +0000
committerache <ache@FreeBSD.org>1995-02-17 17:29:50 +0000
commitc6349924aa7d67be521264ae9a91dad452d2b244 (patch)
tree235ae344fbaf3bc46d9fd7825b7763044594a183 /usr.bin/colldef/Makefile
downloadFreeBSD-src-c6349924aa7d67be521264ae9a91dad452d2b244.zip
FreeBSD-src-c6349924aa7d67be521264ae9a91dad452d2b244.tar.gz
collate tables compiler
Submitted by: alex@elvisti.kiev.ua
Diffstat (limited to 'usr.bin/colldef/Makefile')
-rw-r--r--usr.bin/colldef/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/usr.bin/colldef/Makefile b/usr.bin/colldef/Makefile
new file mode 100644
index 0000000..590c455
--- /dev/null
+++ b/usr.bin/colldef/Makefile
@@ -0,0 +1,22 @@
+# $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>
OpenPOWER on IntegriCloud