NetBSD/share/tmac/Makefile

28 lines
777 B
Makefile
Raw Normal View History

# @(#)Makefile 8.1 (Berkeley) 6/8/93
# $NetBSD: Makefile,v 1.21 1998/02/15 02:54:17 thorpej Exp $
1993-03-21 12:45:37 +03:00
# 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
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>