Makefile revision 255651
1219019Sgabor# $FreeBSD: head/share/i18n/esdb/Makefile 255651 2013-09-17 20:09:25Z jilles $ 2219019Sgabor# $NetBSD: Makefile,v 1.14 2007/04/01 18:52:30 tnozaki Exp $ 3219019Sgabor 4219019SgaborFILESDIR= ${ESDBDIR} 5219019Sgabor 6219019SgaborSUBDIR= APPLE AST BIG5 CP DEC EUC EBCDIC GB GEORGIAN ISO-2022 ISO-8859 \ 7219019Sgabor ISO646 KAZAKH KOI MISC TCVN UTF 8219019Sgabor 9219019SgaborFILES+= esdb.dir esdb.dir.db esdb.alias esdb.alias.db 10219019SgaborCLEANFILES= ${FILES} 11219019Sgabor 12219019Sgaboresdb.dir: ${SUBDIR} 13255651Sjilles newfile=$$(for i in ${SUBDIR}; do \ 14255651Sjilles cat $$i/esdb.dir.$$i; \ 15255651Sjilles done); \ 16255651Sjilles [ "$$newfile" = "$$(cat ${.TARGET} 2>/dev/null)" ] || \ 17255651Sjilles printf '%s\n' "$$newfile" >${.TARGET} 18219019Sgaboresdb.dir.db: esdb.dir 19219019Sgabor ${MKESDB} -m -o ${.TARGET} ${.ALLSRC} 20219019Sgabor 21219019Sgaboresdb.alias: ${SUBDIR} 22255651Sjilles newfile=$$(for i in ${SUBDIR}; do \ 23255651Sjilles cat $$i/esdb.alias.$$i; \ 24255651Sjilles done); \ 25255651Sjilles [ "$$newfile" = "$$(cat ${.TARGET} 2>/dev/null)" ] || \ 26255651Sjilles printf '%s\n' "$$newfile" >${.TARGET} 27219019Sgaboresdb.alias.db: esdb.alias 28219019Sgabor ${MKESDB} -m -o ${.TARGET} ${.ALLSRC} 29219019Sgabor 30219019Sgaborall: ${FILES} 31219019Sgaborrealall: ${FILES} 32219019Sgabor 33219019Sgabor.include "./Makefile.inc" 34219019Sgabor.include <bsd.prog.mk> 35