1 # $NetBSD: Makefile.enc,v 1.4 2014/08/05 15:40:59 apb Exp $
3 FILESDIR= ${X11FONTDIR}/${ENCDIR}
6 CLEANFILES+= ${GZFILES}
7 CLEANFILES+= ${GZFILES:S/.gz$/.gz.tmp/}
9 .SUFFIXES: .enc .enc.gz
12 ${TOOL_GZIP_N} -9fc ${.IMPSRC} > ${.TARGET}.tmp && mv ${.TARGET}.tmp ${.TARGET}
17 MKFONTSCALEDIR!= cd ${NETBSDSRCDIR}/external/mit/xorg/tools/mkfontscale && ${PRINTOBJDIR}
18 MKFONTSCALE= ${MKFONTSCALEDIR}/mkfontscale
21 ${_MKMSG_CREATE} ${DESTDIR}${FILESDIR}/encodings.dir
22 (cd ${DESTDIR}${FILESDIR} && \
23 rm -f encodings.dir ; \
24 ${MKFONTSCALE} -b -s -l -n -r -p ${X11FONTDIR}/${ENCDIR}/ -e . ${ENCARGS} . ; \
26 .if ${MKUNPRIVED} != "no"
27 echo ".${FILESDIR}/encodings.dir type=file mode=0644 uname=${BINOWN} gname=${BINGRP}" \