1 1.19 phil # @(#)Makefile 8.1 (Berkeley) 6/8/93 2 1.24 christos # $NetBSD: Makefile,v 1.24 1999/08/30 00:41:57 christos Exp $ 3 1.1 cgd 4 1.20 thorpej # IF YOU ADD TO MSRCS, MAKE SURE YOU UPDATE `CATDEPS' IN bsd.man.mk! 5 1.22 ross MSRCS= andoc doc doc-ditroff doc-common doc-nroff doc-syms doc2html 6 1.15 christos MMACS= ${MSRCS:S@^@tmac.@g} 7 1.16 mycroft FILES= ${MMACS} 8 1.15 christos FILESDIR=${BINDIR}/tmac 9 1.17 mycroft LINKS= ${FILESDIR}/tmac.andoc ${FILESDIR}/tmac.an 10 1.15 christos CLEANFILES+= ${MMACS} 11 1.1 cgd 12 1.23 christos TMACDIR?=${.CURDIR} 13 1.23 christos STRIP_SED = ${TMACDIR}/../me/strip.sed 14 1.2 cgd 15 1.1 cgd # old macros not currently installed... 16 1.6 jtc OFILES= tmac.an.v6compat tmac.an6n tmac.an6t tmac.a tmac.cp tmac.doc.old 17 1.1 cgd 18 1.15 christos all: ${MMACS} 19 1.15 christos 20 1.15 christos .for i in ${MSRCS} 21 1.15 christos tmac.$i: $i 22 1.24 christos sed -f ${STRIP_SED} < ${.ALLSRC} > ${.TARGET} 23 1.15 christos .endfor 24 1.1 cgd 25 1.1 cgd .include <bsd.prog.mk> 26