NetBSD/share/tmac/Makefile

28 lines
783 B
Makefile
Raw Normal View History

# @(#)Makefile 8.1 (Berkeley) 6/8/93
1999-01-13 08:21:46 +03:00
# $NetBSD: Makefile,v 1.22 1999/01/13 05:21:46 ross Exp $
1993-03-21 12:45:37 +03:00
# IF YOU ADD TO MSRCS, MAKE SURE YOU UPDATE `CATDEPS' IN bsd.man.mk!
1999-01-13 08:21:46 +03:00
MSRCS= andoc doc doc-ditroff doc-common doc-nroff doc-syms doc2html
1997-03-25 00:57:01 +03:00
MMACS= ${MSRCS:S@^@tmac.@g}
FILES= ${MMACS}
1997-03-25 00:57:01 +03:00
FILESDIR=${BINDIR}/tmac
1997-03-27 11:50:26 +03:00
LINKS= ${FILESDIR}/tmac.andoc ${FILESDIR}/tmac.an
1997-03-25 00:57:01 +03:00
CLEANFILES+= ${MMACS}
1993-03-21 12:45:37 +03:00
1997-03-25 00:57:01 +03:00
STRIP_SED = ${.CURDIR}/../me/strip.sed
1993-03-21 12:45:37 +03:00
# old macros not currently installed...
OFILES= tmac.an.v6compat tmac.an6n tmac.an6t tmac.a tmac.cp tmac.doc.old
1993-03-21 12:45:37 +03:00
1997-03-25 00:57:01 +03:00
all: ${MMACS}
1993-03-21 12:45:37 +03:00
1997-03-25 00:57:01 +03:00
.for i in ${MSRCS}
tmac.$i: $i
@if [ ! -f ${.TARGET} -o ${.ALLSRC} -nt ${.TARGET} ]; then \
echo "sed -f ${STRIP_SED} < ${.ALLSRC} > ${.TARGET}"; \
sed -f ${STRIP_SED} < ${.ALLSRC} > ${.TARGET}; \
fi
1997-03-25 00:57:01 +03:00
.endfor
1993-03-21 12:45:37 +03:00
.include <bsd.prog.mk>