freebsd-skq/share/me/Makefile
2001-12-17 13:59:35 +00:00

31 lines
749 B
Makefile

# @(#)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/}
# XXX use groff version
# MAN= 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>