summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2015-10-31 23:59:04 +0100
committerJay Berkenbilt <ejb@ql.org>2015-11-01 00:10:19 +0100
commitccc4f13509a149f108ef90a4458dbff65b892fa0 (patch)
treeb4d8fb7ec5ef95653f88664348df925d08e7f313
parent0496ab1a6ea45d73b7a64d821008dff5b1a09938 (diff)
downloadqpdf-ccc4f13509a149f108ef90a4458dbff65b892fa0.tar.zst
Linearize manual
-rw-r--r--README.maintainer1
-rwxr-xr-xmake_dist2
-rw-r--r--manual/build.mk5
3 files changed, 4 insertions, 4 deletions
diff --git a/README.maintainer b/README.maintainer
index 2b79659d..bb2d7f43 100644
--- a/README.maintainer
+++ b/README.maintainer
@@ -111,7 +111,6 @@ Release Reminders
* Remember to update the web page including putting new documentation
in the "files" subdirectory of the website on sourceforge.net.
- Linearize the PDF version of the manual when copying it there.
* Create a tag in the version control system, and make backups of the
actual releases. With git, use git tag -s to create a signed tag:
diff --git a/make_dist b/make_dist
index b8dffd23..a2d496a0 100755
--- a/make_dist
+++ b/make_dist
@@ -95,7 +95,7 @@ if ($version_error)
run("./autogen.sh");
run("./configure --enable-doc-maintenance --enable-werror");
-run("make build_manual");
+run("make -j8 build_manual");
run("make distclean");
cd($pwd);
run("tar czvf $srcdir.tar.gz-candidate $srcdir");
diff --git a/manual/build.mk b/manual/build.mk
index 55c49652..03e8fe56 100644
--- a/manual/build.mk
+++ b/manual/build.mk
@@ -24,8 +24,9 @@ $(VALIDATE):
endif
-$(OUTDOC).pdf: $(OUTDOC).fo
- $(FOP) $< -pdf $@
+$(OUTDOC).pdf: $(OUTDOC).fo qpdf/build/qpdf
+ $(FOP) $< -pdf $@.tmp
+ qpdf/build/qpdf --linearize $@.tmp $@
$(OUTDOC).html: $(INDOC).xml manual/html.xsl $(VALIDATE)
$(XSLTPROC) --output $@ manual/html.xsl $<