Makefile revision 1.21
11.19Sphil#	@(#)Makefile	8.1 (Berkeley) 6/8/93
21.21Sthorpej#	$NetBSD: Makefile,v 1.21 1998/02/15 02:54:17 thorpej Exp $
31.1Scgd
41.20Sthorpej# IF YOU ADD TO MSRCS, MAKE SURE YOU UPDATE `CATDEPS' IN bsd.man.mk!
51.16SmycroftMSRCS=  andoc doc doc-ditroff doc-common doc-nroff doc-syms
61.15SchristosMMACS=  ${MSRCS:S@^@tmac.@g}
71.16SmycroftFILES=	${MMACS}
81.15SchristosFILESDIR=${BINDIR}/tmac
91.17SmycroftLINKS=	${FILESDIR}/tmac.andoc ${FILESDIR}/tmac.an
101.15SchristosCLEANFILES+= ${MMACS}
111.1Scgd
121.15SchristosSTRIP_SED = ${.CURDIR}/../me/strip.sed
131.2Scgd
141.1Scgd# old macros not currently installed...
151.6SjtcOFILES=	tmac.an.v6compat tmac.an6n tmac.an6t tmac.a tmac.cp tmac.doc.old
161.1Scgd
171.15Schristosall:	${MMACS}
181.15Schristos
191.15Schristos.for i in ${MSRCS}
201.15Schristostmac.$i: $i
211.21Sthorpej	@if [ ! -f ${.TARGET} -o ${.ALLSRC} -nt ${.TARGET} ]; then \
221.21Sthorpej		echo "sed -f ${STRIP_SED} < ${.ALLSRC} > ${.TARGET}"; \
231.21Sthorpej		sed -f ${STRIP_SED} < ${.ALLSRC} > ${.TARGET}; \
241.21Sthorpej	fi
251.15Schristos.endfor
261.1Scgd
271.1Scgd.include <bsd.prog.mk>
28