1997-07-02 06:55:38 +04:00
|
|
|
# @(#)Makefile 8.1 (Berkeley) 6/8/93
|
2008-10-26 02:27:34 +04:00
|
|
|
# $NetBSD: Makefile,v 1.31 2008/10/25 22:27:36 apb 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!
|
2003-06-30 22:51:28 +04:00
|
|
|
MSRCS= doc2html
|
|
|
|
MMACS= ${MSRCS:S@$@.tmac@g}
|
2000-02-26 20:39:53 +03:00
|
|
|
INCS= ${MMACS}
|
|
|
|
INCSDIR=${BINDIR}/tmac
|
1997-03-25 00:57:01 +03:00
|
|
|
CLEANFILES+= ${MMACS}
|
1993-03-21 12:45:37 +03:00
|
|
|
|
1999-07-11 00:04:03 +04:00
|
|
|
TMACDIR?=${.CURDIR}
|
|
|
|
STRIP_SED = ${TMACDIR}/../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
|
|
|
|
2000-01-24 00:55:44 +03:00
|
|
|
realall: ${MMACS}
|
1993-03-21 12:45:37 +03:00
|
|
|
|
1997-03-25 00:57:01 +03:00
|
|
|
.for i in ${MSRCS}
|
2003-06-30 22:51:28 +04:00
|
|
|
$i.tmac: $i
|
2003-10-21 14:01:19 +04:00
|
|
|
${_MKTARGET_CREATE}
|
2008-10-26 02:27:34 +04:00
|
|
|
${TOOL_SED} -f ${STRIP_SED} < ${.ALLSRC} > ${.TARGET}
|
1997-03-25 00:57:01 +03:00
|
|
|
.endfor
|
1993-03-21 12:45:37 +03:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|