Commit ccc4f13509a149f108ef90a4458dbff65b892fa0

Authored by Jay Berkenbilt
1 parent 0496ab1a

Linearize manual

README.maintainer
... ... @@ -111,7 +111,6 @@ Release Reminders
111 111  
112 112 * Remember to update the web page including putting new documentation
113 113 in the "files" subdirectory of the website on sourceforge.net.
114   - Linearize the PDF version of the manual when copying it there.
115 114  
116 115 * Create a tag in the version control system, and make backups of the
117 116 actual releases. With git, use git tag -s to create a signed tag:
... ...
make_dist
... ... @@ -95,7 +95,7 @@ if ($version_error)
95 95  
96 96 run("./autogen.sh");
97 97 run("./configure --enable-doc-maintenance --enable-werror");
98   -run("make build_manual");
  98 +run("make -j8 build_manual");
99 99 run("make distclean");
100 100 cd($pwd);
101 101 run("tar czvf $srcdir.tar.gz-candidate $srcdir");
... ...
manual/build.mk
... ... @@ -24,8 +24,9 @@ $(VALIDATE):
24 24  
25 25 endif
26 26  
27   -$(OUTDOC).pdf: $(OUTDOC).fo
28   - $(FOP) $< -pdf $@
  27 +$(OUTDOC).pdf: $(OUTDOC).fo qpdf/build/qpdf
  28 + $(FOP) $< -pdf $@.tmp
  29 + qpdf/build/qpdf --linearize $@.tmp $@
29 30  
30 31 $(OUTDOC).html: $(INDOC).xml manual/html.xsl $(VALIDATE)
31 32 $(XSLTPROC) --output $@ manual/html.xsl $<
... ...