]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - share/i18n/esdb/Makefile
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / share / i18n / esdb / Makefile
1 # $FreeBSD$
2 # $NetBSD: Makefile,v 1.14 2007/04/01 18:52:30 tnozaki Exp $
3
4 FILESDIR= ${ESDBDIR}
5
6 SUBDIR= APPLE AST BIG5 CP DEC EUC EBCDIC GB GEORGIAN ISO-2022 ISO-8859 \
7         ISO646 KAZAKH KOI MISC TCVN UTF
8
9 FILES+= esdb.dir esdb.dir.db esdb.alias esdb.alias.db
10 CLEANFILES= ${FILES}
11
12 esdb.dir: ${SUBDIR}
13         newfile=$$(for i in ${SUBDIR}; do \
14                 cat $$i/esdb.dir.$$i; \
15         done); \
16         [ "$$newfile" = "$$(cat ${.TARGET} 2>/dev/null)" ] || \
17                 printf '%s\n' "$$newfile" >${.TARGET}
18 esdb.dir.db: esdb.dir
19         ${MKESDB} -m -o ${.TARGET} ${.ALLSRC}
20
21 esdb.alias: ${SUBDIR}
22         newfile=$$(for i in ${SUBDIR}; do \
23                 cat $$i/esdb.alias.$$i; \
24         done); \
25         [ "$$newfile" = "$$(cat ${.TARGET} 2>/dev/null)" ] || \
26                 printf '%s\n' "$$newfile" >${.TARGET}
27 esdb.alias.db: esdb.alias
28         ${MKESDB} -m -o ${.TARGET} ${.ALLSRC}
29
30 all: ${FILES}
31 realall: ${FILES}
32
33 .include "./Makefile.inc"
34 .include <bsd.prog.mk>