diff options
author | Murray Stokely <murray@FreeBSD.org> | 2002-04-22 08:59:03 +0000 |
---|---|---|
committer | Murray Stokely <murray@FreeBSD.org> | 2002-04-22 08:59:03 +0000 |
commit | 38efb3d25abc185bc07d1aa1d0bd0fd1aeda8f14 (patch) | |
tree | 8fbf129380ff62ec931223c7dcd735e6ac753578 /share | |
parent | 64ac2e4067edcf0b298189940244bff70dcad018 (diff) | |
download | doc-38efb3d25abc185bc07d1aa1d0bd0fd1aeda8f14.tar.gz doc-38efb3d25abc185bc07d1aa1d0bd0fd1aeda8f14.zip |
Add a new print-output build variable for the doc project, 'RLE'.
If defined, EPS files are run length encoded before being integrated
into the PostScript output.
"make book.ps" currently generates a 96 megabyte file.
"make RLE=1 book.ps" generates a 16 megabyte file.
If we added a tool to use better (LZW) compression for the eps
screenshots and such, then we could reduce this number further.
Notes
Notes:
svn path=/head/; revision=12846
Diffstat (limited to 'share')
-rw-r--r-- | share/mk/doc.docbook.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/share/mk/doc.docbook.mk b/share/mk/doc.docbook.mk index 6ca9eadc17..deb1061329 100644 --- a/share/mk/doc.docbook.mk +++ b/share/mk/doc.docbook.mk @@ -90,6 +90,9 @@ # a book. This option may be an order of magnitude more # CPU intensive than the default build. # +# RLE Use Run-Length Encoding for EPS files, this will +# result in signficiantly smaller PostScript files, +# but may take longer for a printer to process. # # Documents should use the += format to access these. @@ -169,6 +172,9 @@ PRINTOPTS+= -V minimal-section-labels .if defined(TRACE) TEXCMDS+= \tracingstats=${TRACE} .endif +.if defined(RLE) +PNMTOPSFLAGS+= -rle +.endif PERL?= /usr/bin/perl PKG_CREATE?= /usr/sbin/pkg_create |