run fc-cache -fv to build the `fonts.cache-1' files

This commit is contained in:
lukem 2003-09-13 00:19:57 +00:00
parent ee20b1b408
commit b8ac3adb72

View File

@ -1,6 +1,20 @@
# $NetBSD: Makefile,v 1.1.1.1 2003/09/11 18:43:32 lukem Exp $
# $NetBSD: Makefile,v 1.2 2003/09/13 00:19:57 lukem Exp $
.include <bsd.own.mk>
SUBDIR= util encodings .WAIT
SUBDIR+=bdf local scaled
FCCACHEDIR!= cd ${NETBSDSRCDIR}/x11/tools/fc-cache && ${PRINTOBJDIR}
FCCACHE= ${FCCACHEDIR}/fc-cache
afterinstall:
${FCCACHE} -fv ${DESTDIR}${X11FONTDIR}
.if ${MKUNPRIVED} != "no"
cd ${DESTDIR} \
&& find ./${X11FONTDIR} -name fonts.cache-1 \
| sed -e 's/$$/ type=file mode=0444 uname=root gname=wheel/' \
| ${METALOG.add}
.endif
.include <bsd.subdir.mk>