aboutsummaryrefslogtreecommitdiffstats
path: root/make_dist
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2023-12-16 17:00:37 +0100
committerJay Berkenbilt <ejb@ql.org>2023-12-16 17:38:00 +0100
commit273eaf4682ba11c1c1fcfdcda31d0c95211599a2 (patch)
tree78ccea3f95c600f803c4151354d140f6f7823cc9 /make_dist
parent17c5b950c882221982e89e06de5689e02e2f6fb4 (diff)
downloadqpdf-273eaf4682ba11c1c1fcfdcda31d0c95211599a2.tar.zst
Remove hard-coded version from manual/conf.py
Diffstat (limited to 'make_dist')
-rwxr-xr-xmake_dist22
1 files changed, 0 insertions, 22 deletions
diff --git a/make_dist b/make_dist
index acbf71e3..020852eb 100755
--- a/make_dist
+++ b/make_dist
@@ -59,7 +59,6 @@ cd($tmpdir);
# Check versions
my $cmakeversion = get_version_from_cmake();
my $code_version = get_version_from_source();
-my $doc_version = get_version_from_manual();
my $version_error = 0;
if ($version ne $cmakeversion)
@@ -72,11 +71,6 @@ if ($version ne $code_version)
print "$whoami: QPDF.cc version = $code_version\n";
$version_error = 1;
}
-if ($version ne $doc_version)
-{
- print "$whoami: doc version = $doc_version\n";
- $version_error = 1;
-}
if ($version_error)
{
die "$whoami: version numbers are not consistent\n";
@@ -157,22 +151,6 @@ sub get_version_from_source
$code_version;
}
-sub get_version_from_manual
-{
- my $fh = safe_open("manual/conf.py");
- my $doc_version = 'unknown';
- while (<$fh>)
- {
- if (m/release = '([^\']+)\'/)
- {
- $doc_version = $1;
- last;
- }
- }
- $fh->close();
- $doc_version;
-}
-
sub safe_open
{
my $file = shift;