1 # from: @(#)Makefile 6.13 (Berkeley) 3/20/91 2 # $NetBSD: Makefile,v 1.17 1997/03/27 08:50:26 mycroft Exp $ 3 4 MSRCS= andoc doc doc-ditroff doc-common doc-nroff doc-syms 5 MMACS= ${MSRCS:S@^@tmac.@g} 6 FILES= ${MMACS} 7 FILESDIR=${BINDIR}/tmac 8 LINKS= ${FILESDIR}/tmac.andoc ${FILESDIR}/tmac.an 9 CLEANFILES+= ${MMACS} 10 11 STRIP_SED = ${.CURDIR}/../me/strip.sed 12 13 # old macros not currently installed... 14 OFILES= tmac.an.v6compat tmac.an6n tmac.an6t tmac.a tmac.cp tmac.doc.old 15 16 all: ${MMACS} 17 18 depend lint tags: 19 20 .for i in ${MSRCS} 21 tmac.$i: $i 22 sed -f ${STRIP_SED} < ${.ALLSRC} > ${.TARGET} 23 .endfor 24 25 .include <bsd.prog.mk> 26