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.
This commit is contained in:
Murray Stokely 2002-04-22 08:59:03 +00:00
parent 64ac2e4067
commit 38efb3d25a
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=12846

View file

@ -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