shithub: sox

Download patch

ref: 5ab3ca52dd2a33b5dced8806f1132822fe48aa33
parent: d370253aca571b1d538ec88a02a000bdc338bc0c
author: cbagwell <cbagwell>
date: Fri Feb 18 22:15:07 EST 2011

Since using groff anyways, switch to groff distributed script to
build PDF files instead of an optional script that ghostscript
distributes.

--- a/Makefile.am
+++ b/Makefile.am
@@ -35,7 +35,7 @@
 
 # Rule for making PDF man pages
 .1.pdf .3.pdf .7.pdf:
-	groff -t -man -Tps $(srcdir)/$< |ps2pdfwr -dPDFSETTINGS=/printer - $@
+	pdfroff -t -man -Tps $(srcdir)/$< > $@
 
 DOCPDF = sox.pdf soxi.pdf soxformat.pdf libsox.pdf
 pdf: $(DOCPDF)
--- a/mingwbuild
+++ b/mingwbuild
@@ -86,9 +86,7 @@
   MINGW32*)
   CONFIGURE=configure
   SYS_ROOT=""
-  # Can't build PDF's because lack of ps2pdfwr.  Need to install
-  # ghostscript for windows and then copy wrapper script ps2pdfwr
-  # into MinGW.
+  # Can't build PDF's on MSYS unless ghostscript is installed.
   DOC_TARGETS=""
   DOCS=""
   TMP_SNDFILE_LIBS=""