summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-06-19 11:39:23 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-06-19 11:39:23 -0700
commiteec3b52505aece7ca93a70b34b700b7dcc17001d (patch)
treed1c8f5cdcc6225809c6997f17a969425e7cceaa4 /doc
parentca6a242dcd92f3b47493c13f4e377ae26b4c0b9b (diff)
downloadnasm-eec3b52505aece7ca93a70b34b700b7dcc17001d.tar.gz
nasm-eec3b52505aece7ca93a70b34b700b7dcc17001d.tar.bz2
nasm-eec3b52505aece7ca93a70b34b700b7dcc17001d.zip
doc: for ps to pdf conversion, use "acrodist", "ps2pdf" or "pstopdf"
For PostScript to PDF conversion, use whichever of "acrodist", "ps2pdf", or "pstopdf" which we can find on the system. I haven't tried either acrodist or pstopdf myself, only going my the documentation, but prefer acrodist since it is claimed to produce smaller output files than ps2pdf.
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile.in11
1 files changed, 9 insertions, 2 deletions
diff --git a/doc/Makefile.in b/doc/Makefile.in
index 4f2328f..cf283ec 100644
--- a/doc/Makefile.in
+++ b/doc/Makefile.in
@@ -19,7 +19,12 @@ INSTALL_DATA = @INSTALL_DATA@
PERL = perl
MAKEINFO = makeinfo
TEXI2DVI = texi2dvi
-PS2PDF = ps2pdf # Part of GhostScript
+TEXI2IPF = texi2ipf
+IPFC = ipfc
+
+ACRODIST = @ACRODIST@ # Acrobat Distiller
+PSTOPDF = @PSTOPDF@ # BSD/MacOS X utility
+PS2PDF = @PS2PDF@ # Part of GhostScript
SRCS = nasmdoc.src
OUT = info html nasmdoc.txt nasmdoc.ps nasmdoc.pdf
@@ -57,7 +62,9 @@ nasmdoc.ps: nasmdoc.dip nasmlogo.eps $(srcdir)/../version genpsdriver.pl \
$(PERL) $(srcdir)/genpsdriver.pl > nasmdoc.ps
nasmdoc.pdf: nasmdoc.ps
- $(PS2PDF) nasmdoc.ps
+ $(ACRODIST) -n -q --nosecurity -o $@ $< || \
+ $(PS2PDF) $< $@ || \
+ $(PSTOPDF) $< -o $@
.PHONY: info
info: info/nasm.info