1997-07-02 06:55:38 +04:00
|
|
|
# @(#)Makefile 8.1 (Berkeley) 6/8/93
|
1998-02-15 05:54:17 +03:00
|
|
|
# $NetBSD: Makefile,v 1.21 1998/02/15 02:54:17 thorpej Exp $
|
1993-03-21 12:45:37 +03:00
|
|
|
|
1998-02-15 04:08:50 +03:00
|
|
|
# IF YOU ADD TO MSRCS, MAKE SURE YOU UPDATE `CATDEPS' IN bsd.man.mk!
|
1997-03-27 06:12:32 +03:00
|
|
|
MSRCS= andoc doc doc-ditroff doc-common doc-nroff doc-syms
|
1997-03-25 00:57:01 +03:00
|
|
|
MMACS= ${MSRCS:S@^@tmac.@g}
|
1997-03-27 06:12:32 +03:00
|
|
|
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-28 07:27:09 +04:00
|
|
|
|
1993-03-21 12:45:37 +03:00
|
|
|
# old macros not currently installed...
|
1993-07-22 21:06:53 +04:00
|
|
|
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
|
1998-02-15 05:54:17 +03:00
|
|
|
@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>
|