History

doc: fix doubled pdf output [bug #261]

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 ]

Kevin Conder committed 10 years ago

Commit 4b547a01 parent 7bfb3d81 file · +3 −3Browse files

Unified · Split

Makefile.am+3−3
@@ -39,11 +39,11 @@ txt: $(DOCTXT) · 38 unmodified lines
3939
4040 # Rule for making PDF man pages
4141 .1.pdf:
42− pdfroff -t -man -Tps $< > $@
42+ pdfroff -t -man --no-toc-relocation -Tps $< > $@
4343 .3.pdf:
44− pdfroff -t -man -Tps $< > $@
44+ pdfroff -t -man --no-toc-relocation -Tps $< > $@
4545 .7.pdf:
46− pdfroff -t -man -Tps $< > $@
46+ pdfroff -t -man --no-toc-relocation -Tps $< > $@
4747
4848 DOCPDF = sox.pdf soxi.pdf soxformat.pdf libsox.pdf
4949 pdf: $(DOCPDF)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t