summaryrefslogtreecommitdiff
path: root/doc/Makefile.in
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2017-04-10 16:10:28 -0700
committerH. Peter Anvin <hpa@zytor.com>2017-04-10 16:10:28 -0700
commitf13effec22fe78e32b0802dbd66610ed4c80c2a0 (patch)
tree04de93a6d54f0ff90bc89f69dbb72b95dc850879 /doc/Makefile.in
parentc11e23004f1be93779017ca71848ed0901486f82 (diff)
downloadnasm-f13effec22fe78e32b0802dbd66610ed4c80c2a0.tar.gz
doc: add the option to generate an uncompressed PDF
An uncompressed PDF is about twice as big, but if one is using an external compression program (e.g. .pdf.xz) it compresses far better. Use it for the RPM specfile. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'doc/Makefile.in')
-rw-r--r--doc/Makefile.in10
1 files changed, 4 insertions, 6 deletions
diff --git a/doc/Makefile.in b/doc/Makefile.in
index 0e142d37..6a2d5a7e 100644
--- a/doc/Makefile.in
+++ b/doc/Makefile.in
@@ -23,15 +23,13 @@ TEXI2DVI = texi2dvi
TEXI2IPF = texi2ipf
IPFC = ipfc
-ACRODIST = acrodist # Acrobat Distiller
-PSTOPDF = pstopdf # BSD/MacOS X utility
-PS2PDF = ps2pdf # Part of GhostScript
+PDFOPT = @PDFOPT@
RM_F = rm -f
RM_RF = rm -rf
SRCS = nasmdoc.src inslist.src changes.src version.src
-OUT = info html nasmdoc.txt nasmdoc.ps nasmdoc.pdf
+OUT = info html nasmdoc.txt nasmdoc.pdf
.SUFFIXES: .pfa .ph
@@ -68,8 +66,8 @@ nasmdoc.ps: nasmdoc.dip genps.pl afmmetrics.ph ttfmetrics.ph \
$(PERL) $(srcdir)/genps.pl -headps $(srcdir)/head.ps nasmdoc.dip \
> nasmdoc.ps
-nasmdoc.pdf: nasmdoc.ps
- $(PERL) pspdf.pl nasmdoc.ps nasmdoc.pdf
+nasmdoc.pdf: nasmdoc.ps pspdf.pl
+ $(PERL) pspdf.pl $(PDFOPT) nasmdoc.ps nasmdoc.pdf
.PHONY: info
info: info/nasm.info