NetBSD/share/tmac/Makefile
thorpej c7c858669b Make a note that if additional troff macro definitions are added, the
dependency list in bsd.man.mk should be updated.
1998-02-15 01:08:50 +00:00

25 lines
649 B
Makefile

# @(#)Makefile 8.1 (Berkeley) 6/8/93
# $NetBSD: Makefile,v 1.20 1998/02/15 01:08:50 thorpej Exp $
# IF YOU ADD TO MSRCS, MAKE SURE YOU UPDATE `CATDEPS' IN bsd.man.mk!
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>