doc: Use -optimize with asciidoctorpdf
authorKeith Packard <keithp@keithp.com>
Tue, 10 Oct 2023 18:19:54 +0000 (11:19 -0700)
committerKeith Packard <keithp@keithp.com>
Tue, 10 Oct 2023 18:19:54 +0000 (11:19 -0700)
This does some additional compression on the output to make it
smaller.

Signed-off-by: Keith Packard <keithp@keithp.com>
doc/Makefile.am

index 9a8a5f6084df69e2b8d30328531041de568c46ae..f0d8cfb629d7ede77222bb2aea02b1ed85e6ba1c 100644 (file)
@@ -323,7 +323,7 @@ ATTRIBUTES=--attribute="revdate=$(DOC_DATE)" --attribute="version=$(VERSION)"
        asciidoctor $(ATTRIBUTES) -b html5 $*.adoc
 
 .adoc.pdf:
-       asciidoctor-pdf $(ATTRIBUTES) $*.adoc
+       asciidoctor-pdf $(ATTRIBUTES) -a optimize $*.adoc
 
 all:   $(HTML) $(PDF)