diff options
author | Ruslan Ermilov <ru@FreeBSD.org> | 2011-06-03 11:58:17 +0000 |
---|---|---|
committer | Ruslan Ermilov <ru@FreeBSD.org> | 2011-06-03 11:58:17 +0000 |
commit | f1a52c7ed64257aa9b67fc5fdfd55c17b5f7bd77 (patch) | |
tree | ab5d5a41b9a2f0391020236bd3e80d9b41b70398 | |
parent | 8bf9aaabf988911e85e6ca6ab0cae09a6599c588 (diff) | |
download | src-f1a52c7ed64257aa9b67fc5fdfd55c17b5f7bd77.tar.gz src-f1a52c7ed64257aa9b67fc5fdfd55c17b5f7bd77.zip |
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. The bug was hiding by a hack in troffrc
that disables SGR support in grotty(1), which I'm going to remove now.
For POLA reasons, still disable SGR support in grotty(1), by passing
-P-c to groff(1). If we want SGR sequences in these documents, this
can be removed.
MFC after: 1 week
Notes
Notes:
svn path=/head/; revision=222647
-rw-r--r-- | share/mk/bsd.doc.mk | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/share/mk/bsd.doc.mk b/share/mk/bsd.doc.mk index 539d4c341ddb..49b2d9b85fa8 100644 --- a/share/mk/bsd.doc.mk +++ b/share/mk/bsd.doc.mk @@ -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_EXT} .endif .endfor -PAGES?= 1- - UNROFF?= unroff HTML_SPLIT?= yes UNROFFFLAGS?= -fhtml |