1 # $NetBSD: Makefile.enc,v 1.7 2004/03/06 03:13:06 rtr Exp $
3 FILESDIR= ${X11FONTDIR}/${ENCDIR}
4 .PATH: ${X11SRCDIR.xc}/fonts/${ENCDIR}
8 CLEANFILES+= ${GZFILES}
9 CLEANFILES+= ${GZFILES:S/.gz$/.gz.tmp/}
11 .SUFFIXES: .enc .enc.gz
14 gzip -9nfc ${.IMPSRC} > ${.TARGET}.tmp && mv ${.TARGET}.tmp ${.TARGET}
19 MKFONTSCALEDIR!= cd ${NETBSDSRCDIR}/x11/tools/mkfontscale && ${PRINTOBJDIR}
20 MKFONTSCALE= ${MKFONTSCALEDIR}/mkfontscale
23 ${_MKMSG_CREATE} ${DESTDIR}${FILESDIR}/encodings.dir
24 (cd ${DESTDIR}${FILESDIR} && \
25 rm -f encodings.dir ; \
26 ${MKFONTSCALE} -b -s -l -n -r -p ${X11FONTDIR}/${ENCDIR}/ -e . ${ENCARGS} . ; \
28 .if ${MKUNPRIVED} != "no"
29 echo ".${FILESDIR}/encodings.dir type=file mode=0644 uname=${BINOWN} gname=${BINGRP}" \