aboutsummaryrefslogtreecommitdiffstats
path: root/make_dist
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2021-12-11 23:16:05 +0100
committerJay Berkenbilt <ejb@ql.org>2021-12-13 17:16:21 +0100
commita372a988fdcdf84c8ba2e47f021802fc3ffb9089 (patch)
treece884fdcafc4883803a51f454af797bc43844575 /make_dist
parentabb6a16ed16b6137b829bc88a6f2b8b3b6c8cf35 (diff)
downloadqpdf-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-xmake_dist6
1 files changed, 3 insertions, 3 deletions
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;