From a5de950272ddaefa03f964a8d31d21ffc7dccab4 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Tue, 10 Oct 2023 11:19:54 -0700 Subject: [PATCH] doc: Use -optimize with asciidoctorpdf This does some additional compression on the output to make it smaller. Signed-off-by: Keith Packard --- doc/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.30.2