1# $NetBSD: Makefile,v 1.4 2017/08/29 20:53:56 mrg Exp $ 2 3# When updating fontconfig, be sure to update the fonts.conf. This 4# requires running ./configure like this: 5# 6# env PKG_CONFIG_PATH=/usr/X11R7/share/pkgconfig \ 7# ./configure \ 8# --localstatedir=/var \ 9# --with-default-fonts=/usr/X11R7/lib/X11/fonts \ 10# --with-add-fonts=/usr/pkg/lib/X11/fonts,/usr/pkg/share/fonts \ 11# --with-configdir=conf.d 12# 13# and then running gmake fonts.conf and copying the new file here. 14# (gmake is required here as the FC_CONFIGDIR pattern uses $(subst).) 15# 16 17SUBDIR= conf.d conf.avail 18 19.include <bsd.own.mk> 20 21.PATH: ${X11SRCDIR.fontconfig} 22CONFIGFILES= \ 23 fonts.conf \ 24 fonts.dtd 25 26FILESDIR= \ 27 /etc/fonts 28 29.include <bsd.x11.mk> 30.include <bsd.prog.mk> 31.include <bsd.subdir.mk> 32