summaryrefslogtreecommitdiffstats
path: root/share/me/Makefile
blob: 6a9d6de5b33c2378ab9c0f0903275448dcbb91e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#	@(#)Makefile	8.2 (Berkeley) 3/27/94
# $FreeBSD$

MELIB=	${BINDIR}/me
TMLIB=	${BINDIR}/tmac
MESRCS=	acm.me chars.me deltext.me eqn.me float.me footnote.me \
	index.me letterhead.me local.me null.me refer.me sh.me \
	tbl.me thesis.me
TMSRCS=	tmac.orig_me
FILES=	${MESRCS:S/$/.tmp/} ${TMSRCS:S/$/.tmp/} revisions
CLEANFILES+=	${MESRCS:S/$/.tmp/} ${TMSRCS:S/$/.tmp/}

MAN=	orig_me.7

.for file in ${MESRCS} ${TMSRCS}
${file}.tmp: ${file}
	sed -f ${.CURDIR}/strip.sed < ${.ALLSRC} > ${.TARGET}
.endfor

.for file in ${MESRCS:S/$/.tmp/} revisions
FILESDIR_${file}=	${MELIB}
FILESNAME_${file}=	${file:R}
.endfor
.for file in ${TMSRCS:S/$/.tmp/}
FILESDIR_${file}=	${TMLIB}
FILESNAME_${file}=	${file:R}
.endfor

.include <bsd.prog.mk>
OpenPOWER on IntegriCloud