From b448ffc111be3d507769b51914c74d99948012b9 Mon Sep 17 00:00:00 2001 From: Kevin Conder Date: Wed, 27 Jan 2016 21:37:18 -0600 Subject: Fix Bug #261: absurd docs bug - PDF is doubled 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 --- Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index 12076b13..66d0d737 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) -- cgit v1.2.3-24-ge0c7