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
39 39
40# Rule for making PDF man pages40# Rule for making PDF man pages
41.1.pdf:41.1.pdf:
42 pdfroff -t -man -Tps $< > $@42 pdfroff -t -man --no-toc-relocation -Tps $< > $@
43.3.pdf:43.3.pdf:
44 pdfroff -t -man -Tps $< > $@44 pdfroff -t -man --no-toc-relocation -Tps $< > $@
45.7.pdf:45.7.pdf:
46 pdfroff -t -man -Tps $< > $@46 pdfroff -t -man --no-toc-relocation -Tps $< > $@
47 47
48DOCPDF = sox.pdf soxi.pdf soxformat.pdf libsox.pdf48DOCPDF = sox.pdf soxi.pdf soxformat.pdf libsox.pdf
49pdf: $(DOCPDF)49pdf: $(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