1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-23 11:18:54 +00:00
freebsd/share/i18n/esdb/Makefile
Bryan Drewery e03766c6a9 DIRDEPS_BUILD: Fix mapper files building during dirdeps.
Sponsored by:	EMC / Isilon Storage Division
2016-03-01 22:25:49 +00:00

33 lines
857 B
Makefile

# $FreeBSD$
# $NetBSD: Makefile,v 1.14 2007/04/01 18:52:30 tnozaki Exp $
FILESDIR= ${ESDBDIR}
SUBDIR= APPLE AST BIG5 CP DEC EUC EBCDIC GB GEORGIAN ISO-2022 ISO-8859 \
ISO646 KAZAKH KOI MISC TCVN UTF
SUBDIR_PARALLEL=
FILES+= esdb.dir esdb.dir.db esdb.alias esdb.alias.db
CLEANFILES= ${FILES}
esdb.dir: ${SUBDIR}
newfile=$$(for i in ${SUBDIR}; do \
cat $$i/esdb.dir.$$i; \
done); \
[ "$$newfile" = "$$(cat ${.TARGET} 2>/dev/null)" ] || \
printf '%s\n' "$$newfile" >${.TARGET}
esdb.dir.db: esdb.dir
${MKESDB} -m -o ${.TARGET} ${.ALLSRC}
esdb.alias: ${SUBDIR}
newfile=$$(for i in ${SUBDIR}; do \
cat $$i/esdb.alias.$$i; \
done); \
[ "$$newfile" = "$$(cat ${.TARGET} 2>/dev/null)" ] || \
printf '%s\n' "$$newfile" >${.TARGET}
esdb.alias.db: esdb.alias
${MKESDB} -m -o ${.TARGET} ${.ALLSRC}
.include "./Makefile.inc"
.include <bsd.prog.mk>