diff options
author | Jay Berkenbilt <ejb@ql.org> | 2021-12-11 23:16:05 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2021-12-13 17:16:21 +0100 |
commit | a372a988fdcdf84c8ba2e47f021802fc3ffb9089 (patch) | |
tree | ce884fdcafc4883803a51f454af797bc43844575 /make_dist | |
parent | abb6a16ed16b6137b829bc88a6f2b8b3b6c8cf35 (diff) | |
download | qpdf-a372a988fdcdf84c8ba2e47f021802fc3ffb9089.tar.zst |
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.
Diffstat (limited to 'make_dist')
-rwxr-xr-x | make_dist | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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; |