From: Keith Packard Date: Tue, 10 Oct 2023 18:19:54 +0000 (-0700) Subject: doc: Use -optimize with asciidoctorpdf X-Git-Tag: 1.9.17.1~7^2~1 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=a5de950272ddaefa03f964a8d31d21ffc7dccab4 doc: Use -optimize with asciidoctorpdf This does some additional compression on the output to make it smaller. Signed-off-by: Keith Packard --- diff --git a/doc/Makefile.am b/doc/Makefile.am index 9a8a5f60..f0d8cfb6 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -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)