Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/share/doc/psd/05.sysman make "make paper.ps" work



details:   https://anonhg.NetBSD.org/src/rev/94936bf25cd7
branches:  netbsd-1-5
changeset: 490810:94936bf25cd7
user:      hubertf <hubertf%NetBSD.org@localhost>
date:      Sun Mar 11 19:17:14 2001 +0000

description:
make "make paper.ps" work

diffstat:

 share/doc/psd/05.sysman/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r c4f4aa1694b8 -r 94936bf25cd7 share/doc/psd/05.sysman/Makefile
--- a/share/doc/psd/05.sysman/Makefile  Sun Mar 11 19:09:38 2001 +0000
+++ b/share/doc/psd/05.sysman/Makefile  Sun Mar 11 19:17:14 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.4 1998/02/04 15:07:52 christos Exp $
+#      $NetBSD: Makefile,v 1.4.10.1 2001/03/11 19:17:14 hubertf Exp $
 #
 #      @(#)Makefile    8.2 (Berkeley) 6/1/94
 
@@ -6,9 +6,11 @@
 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 \
        2.0.t 2.1.t 2.2.t 2.3.t 2.4.t 2.5.t a.t
 MACROS=        -ms
-CLEANFILES+=toc
+CLEANFILES+=Toc
 
 paper.ps: ${SRCS}
+       # Format twice to (only) generate Toc in the first run:
+       ( ${SOELIM} -I${.CURDIR} ${.ALLSRC} | ${TBL} | ${ROFF} 2>&1 ) >/dev/null
        ${SOELIM} -I${.CURDIR} ${.ALLSRC} | ${TBL} | ${ROFF} > ${.TARGET}
 
 .include <bsd.doc.mk>



Home | Main Index | Thread Index | Old Index