From a372a988fdcdf84c8ba2e47f021802fc3ffb9089 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sat, 11 Dec 2021 17:16:05 -0500 Subject: Switch build from docbook manual to sphinx Also remove linearization from qpdf-manual.pdf. It's a small file, and removing the dependency on the qpdf executable significantly shortens build times. --- make_dist | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'make_dist') diff --git a/make_dist b/make_dist index d6e42332..60ce9842 100755 --- a/make_dist +++ b/make_dist @@ -78,7 +78,7 @@ if ($version ne $code_version) } if ($version ne $doc_version) { - print "$whoami: qpdf-manual.xml version = $doc_version\n"; + print "$whoami: doc version = $doc_version\n"; $version_error = 1; } if ($version ne $cli_version) @@ -153,11 +153,11 @@ sub get_version_from_source sub get_version_from_manual { - my $fh = safe_open("manual/qpdf-manual.xml"); + my $fh = safe_open("manual/conf.py"); my $doc_version = 'unknown'; while (<$fh>) { - if (m/swversion "([^\"]+)\"/) + if (m/release = '([^\']+)\'/) { $doc_version = $1; last; -- cgit v1.2.3-70-g09d2