Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jun 2011 06:11:33 +0000 (UTC)
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r222913 - stable/8/share/mk
Message-ID:  <201106100611.p5A6BXBj012484@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ru
Date: Fri Jun 10 06:11:33 2011
New Revision: 222913
URL: http://svn.freebsd.org/changeset/base/222913

Log:
  MFC r222647:
  
  Don't pass -o1- to groff(1) by default.  If ms(7) formatted document
  uses the .RP macro, a separate cover page is created as page 0 which
  is not otherwise output.

Modified:
  stable/8/share/mk/bsd.doc.mk
Directory Properties:
  stable/8/share/mk/   (props changed)

Modified: stable/8/share/mk/bsd.doc.mk
==============================================================================
--- stable/8/share/mk/bsd.doc.mk	Fri Jun 10 03:27:25 2011	(r222912)
+++ stable/8/share/mk/bsd.doc.mk	Fri Jun 10 06:11:33 2011	(r222913)
@@ -54,10 +54,10 @@ INDXBIB?=	indxbib
 PIC?=		pic
 REFER?=		refer
 .for _dev in ${PRINTERDEVICE:Mascii}
-ROFF.ascii?=	groff -Tascii ${TRFLAGS} -mtty-char ${MACROS} -o${PAGES}
+ROFF.ascii?=	groff -Tascii -P-c ${TRFLAGS} -mtty-char ${MACROS} ${PAGES:C/^/-o/1}
 .endfor
 .for _dev in ${PRINTERDEVICE:Nascii}
-ROFF.${_dev}?=	groff -T${_dev} ${TRFLAGS} ${MACROS} -o${PAGES}
+ROFF.${_dev}?=	groff -T${_dev} ${TRFLAGS} ${MACROS} ${PAGES:C/^/-o/1}
 .endfor
 SOELIM?=	soelim
 TBL?=		tbl
@@ -94,8 +94,6 @@ DFILE.${_dev}=	${DOC}.${_dev}${DCOMPRESS
 .endif
 .endfor
 
-PAGES?=		1-
-
 UNROFF?=	unroff
 HTML_SPLIT?=	yes
 UNROFFFLAGS?=	-fhtml



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106100611.p5A6BXBj012484>