From a7ab25ce79f28dcc6e8438b17e329d8aa5195130 Mon Sep 17 00:00:00 2001 From: Kevin Conder Date: Wed, 27 Jan 2016 21:37:18 -0600 Subject: [PATCH] Fix for Bug #261: absurd docs bug - PDF is doubled 14.4.1 and 14.4.2. 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. --- Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index 12076b1..66d0d73 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 $(srcdir)/$< > $@ + pdfroff -t -man --no-toc-relocation -Tps $(srcdir)/$< > $@ .3.pdf: - pdfroff -t -man -Tps $(srcdir)/$< > $@ + pdfroff -t -man --no-toc-relocation -Tps $(srcdir)/$< > $@ .7.pdf: - pdfroff -t -man -Tps $(srcdir)/$< > $@ + pdfroff -t -man --no-toc-relocation -Tps $(srcdir)/$< > $@ DOCPDF = sox.pdf soxi.pdf soxformat.pdf libsox.pdf pdf: $(DOCPDF) -- 1.9.1