NetBSD/share/tmac/Makefile
lukem 130ab7336b Rework how MAKEVERBOSE operates:
*	Don't bother prefixing commands with a line of  ${_MKCMD}\
	and instead rely upon "make -s".  This is less intrusive on
	all the Makefiles than the former.  Idea from David Laight.

    *	Rename the variables use to print messages.  The scheme now is:
	    _MKMSG_FOO		Run  _MKMSG 'foo'
	    _MKTARGET_FOO	Run  _MKMSG_FOO ${.TARGET}
	From discussion with Alistair Crooks.
2003-10-21 10:01:19 +00:00

27 lines
666 B
Makefile

# @(#)Makefile 8.1 (Berkeley) 6/8/93
# $NetBSD: Makefile,v 1.29 2003/10/21 10:01:20 lukem 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 doc2html
MSRCS= doc2html
MMACS= ${MSRCS:S@$@.tmac@g}
INCS= ${MMACS}
INCSDIR=${BINDIR}/tmac
CLEANFILES+= ${MMACS}
TMACDIR?=${.CURDIR}
STRIP_SED = ${TMACDIR}/../me/strip.sed
# old macros not currently installed...
OFILES= tmac.an.v6compat tmac.an6n tmac.an6t tmac.a tmac.cp tmac.doc.old
realall: ${MMACS}
.for i in ${MSRCS}
$i.tmac: $i
${_MKTARGET_CREATE}
sed -f ${STRIP_SED} < ${.ALLSRC} > ${.TARGET}
.endfor
.include <bsd.prog.mk>