Makefile revision 1.20
1#	@(#)Makefile	8.1 (Berkeley) 6/8/93
2#	$NetBSD: Makefile,v 1.20 1998/02/15 01:08:50 thorpej Exp $
3
4# IF YOU ADD TO MSRCS, MAKE SURE YOU UPDATE `CATDEPS' IN bsd.man.mk!
5MSRCS=  andoc doc doc-ditroff doc-common doc-nroff doc-syms
6MMACS=  ${MSRCS:S@^@tmac.@g}
7FILES=	${MMACS}
8FILESDIR=${BINDIR}/tmac
9LINKS=	${FILESDIR}/tmac.andoc ${FILESDIR}/tmac.an
10CLEANFILES+= ${MMACS}
11
12STRIP_SED = ${.CURDIR}/../me/strip.sed
13
14# old macros not currently installed...
15OFILES=	tmac.an.v6compat tmac.an6n tmac.an6t tmac.a tmac.cp tmac.doc.old
16
17all:	${MMACS}
18
19.for i in ${MSRCS}
20tmac.$i: $i
21	sed -f ${STRIP_SED} < ${.ALLSRC} > ${.TARGET}
22.endfor
23
24.include <bsd.prog.mk>
25