1#	@(#)Makefile	8.2 (Berkeley) 3/27/94
2# $FreeBSD$
3
4MELIB=	${BINDIR}/me
5TMLIB=	${BINDIR}/tmac
6MESRCS=	acm.me chars.me deltext.me eqn.me float.me footnote.me \
7	index.me letterhead.me local.me null.me refer.me sh.me \
8	tbl.me thesis.me
9TMSRCS=	tmac.orig_me
10FILES=	${MESRCS:S/$/.tmp/} ${TMSRCS:S/$/.tmp/} revisions
11CLEANFILES+=	${MESRCS:S/$/.tmp/} ${TMSRCS:S/$/.tmp/}
12
13MAN=	orig_me.7
14
15.for file in ${MESRCS} ${TMSRCS}
16${file}.tmp: ${file}
17	sed -f ${.CURDIR}/strip.sed < ${.ALLSRC} > ${.TARGET}
18.endfor
19
20.for file in ${MESRCS:S/$/.tmp/} revisions
21FILESDIR_${file}=	${MELIB}
22FILESNAME_${file}=	${file:R}
23.endfor
24.for file in ${TMSRCS:S/$/.tmp/}
25FILESDIR_${file}=	${TMLIB}
26FILESNAME_${file}=	${file:R}
27.endfor
28
29.include <bsd.prog.mk>
30