Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/x11/share/fonts run fc-cache -fv to build the `fonts.cache...



details:   https://anonhg.NetBSD.org/src/rev/12ef8e5948f5
branches:  trunk
changeset: 551844:12ef8e5948f5
user:      lukem <lukem%NetBSD.org@localhost>
date:      Sat Sep 13 00:19:57 2003 +0000

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

diffstat:

 x11/share/fonts/Makefile |  16 +++++++++++++++-
 1 files changed, 15 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r d019bc3ac64b -r 12ef8e5948f5 x11/share/fonts/Makefile
--- a/x11/share/fonts/Makefile  Sat Sep 13 00:16:10 2003 +0000
+++ b/x11/share/fonts/Makefile  Sat Sep 13 00:19:57 2003 +0000
@@ -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>



Home | Main Index | Thread Index | Old Index