From: Kevin Conder <kwcon...@yahoo.com>

The problem is when any PDF is created, the result is two duplicate
documents concatenated together.

Solution: Add the "--no-toc-relocation" parameter to pdfroff as a
work-around.

[ew: format + edit commit message, add references:
 https://bugs.debian.org/538326
 http://lists.gnu.org/archive/html/groff/2009-08/msg00028.html
 ]

Reviewed-by: Eric Wong <normalper...@yhbt.net>
---
 Makefile.am | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index fefa1869a632..35d06abdc6e7 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -39,11 +39,11 @@ txt: $(DOCTXT)
 
 # Rule for making PDF man pages
 .1.pdf:
-       pdfroff -t -man -Tps $< > $@
+       pdfroff -t -man --no-toc-relocation -Tps $< > $@
 .3.pdf:
-       pdfroff -t -man -Tps $< > $@
+       pdfroff -t -man --no-toc-relocation -Tps $< > $@
 .7.pdf:
-       pdfroff -t -man -Tps $< > $@
+       pdfroff -t -man --no-toc-relocation -Tps $< > $@
 
 DOCPDF = sox.pdf soxi.pdf soxformat.pdf libsox.pdf
 pdf: $(DOCPDF)
-- 
2.17.0


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
SoX-devel mailing list
SoX-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-devel

Reply via email to