Home | History | Annotate | Line # | Download | only in 05.sysman
Makefile revision 1.8
      1 #	$NetBSD: Makefile,v 1.8 2013/10/06 05:45:19 dholland Exp $
      2 #
      3 #	@(#)Makefile	8.2 (Berkeley) 6/1/94
      4 
      5 DIR=	psd/05.sysman
      6 SRCS=	0.t 1.0.t 1.1.t 1.2.t 1.3.t 1.4.t 1.5.t 1.6.t 1.7.t \
      7 	2.0.t 2.1.t 2.2.t 2.3.t 2.4.t 2.5.t a.t
      8 MACROS=	-ms
      9 CLEANFILES+=facilities contents pagelog
     10 
     11 paper.ps: ${SRCS} facilities contents
     12 	${TOOL_SOELIM} -I${.CURDIR} ${.ALLSRC:M*.t} | ${TOOL_TBL} | \
     13 	    ${TOOL_ROFF_PS} ${MACROS} > ${.TARGET}
     14 
     15 facilities: ${SRCS}
     16 	${TOOL_SOELIM} -I${.CURDIR} ${.ALLSRC} |\
     17 	    ${TOOL_SED} -n -e '/^\.Fd/p;/^\.Sh/p' |\
     18 	    ${TOOL_SED} -e 's/^\.Fd/.Nm/;s/^\.Sh /.L/' > ${.TARGET}
     19 
     20 contents: ${SRCS}
     21 	${TOOL_SOELIM} -I${.CURDIR} ${.ALLSRC} |\
     22 	    ${TOOL_SED} -n -e '/^\.Sh/p' |\
     23 	    ${TOOL_SED} -e 's/^\.Sh /.L/;s/$$/"/' > ${.TARGET}
     24 
     25 .include <bsd.doc.mk>
     26