aboutsummaryrefslogtreecommitdiffstats
path: root/manual
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 /manual
parent0496ab1a6ea45d73b7a64d821008dff5b1a09938 (diff)
downloadqpdf-ccc4f13509a149f108ef90a4458dbff65b892fa0.tar.zst
Linearize manual
Diffstat (limited to 'manual')
-rw-r--r--manual/build.mk5
1 files changed, 3 insertions, 2 deletions
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 $<