mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-11-21 03:14:19 +08:00
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.
This commit is contained in:
parent
ca6a242dcd
commit
eec3b52505
@ -66,9 +66,11 @@ PA_ADD_CFLAGS([-Wall])
|
||||
PA_ADD_CFLAGS([-std=c99])
|
||||
PA_ADD_CFLAGS([-pedantic])
|
||||
|
||||
dnl Look for "nroff" or "groff"
|
||||
AC_CHECK_PROGS(NROFF, nroff, echo)
|
||||
AC_SUBST(NROFF)
|
||||
dnl Look for programs...
|
||||
AC_CHECK_PROGS(NROFF, nroff, echo)
|
||||
AC_CHECK_PROGS(ACRODIST, acrodist, false)
|
||||
AC_CHECK_PROGS(PS2PDF, ps2pdf, false)
|
||||
AC_CHECK_PROGS(PSTOPDF, pstopdf, false)
|
||||
|
||||
dnl Checks for header files.
|
||||
AC_HEADER_STDC
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user