NetBSD/share/tmac/Makefile

24 lines
577 B
Makefile

# @(#)Makefile 8.1 (Berkeley) 6/8/93
# $NetBSD: Makefile,v 1.19 1997/07/02 02:55:38 phil Exp $
MSRCS= andoc doc doc-ditroff doc-common doc-nroff doc-syms
MMACS= ${MSRCS:S@^@tmac.@g}
FILES= ${MMACS}
FILESDIR=${BINDIR}/tmac
LINKS= ${FILESDIR}/tmac.andoc ${FILESDIR}/tmac.an
CLEANFILES+= ${MMACS}
STRIP_SED = ${.CURDIR}/../me/strip.sed
# old macros not currently installed...
OFILES= tmac.an.v6compat tmac.an6n tmac.an6t tmac.a tmac.cp tmac.doc.old
all: ${MMACS}
.for i in ${MSRCS}
tmac.$i: $i
sed -f ${STRIP_SED} < ${.ALLSRC} > ${.TARGET}
.endfor
.include <bsd.prog.mk>