aboutsummaryrefslogtreecommitdiffstats
path: root/make_dist
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-01-05 23:05:40 +0100
committerJay Berkenbilt <ejb@ql.org>2022-01-30 19:11:03 +0100
commit23b64f8357f9a605eae9c153a5fe10e2135eb355 (patch)
treeb40e9f3e833de470776b354aa0e16ea8f78e7523 /make_dist
parent12396702af28520b807c0b7a243ce140487e2340 (diff)
downloadqpdf-23b64f8357f9a605eae9c153a5fe10e2135eb355.tar.zst
Remove qpdf.cc version check
Remove comparison of qpdf CLI version with library. With almost all the functionality moving into the library, this check is no longer meaningful.
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 56dccb92..dbbab032 100755
--- a/make_dist
+++ b/make_dist
@@ -64,7 +64,6 @@ cd($tmpdir);
my $config_version = get_version_from_configure();
my $code_version = get_version_from_source();
my $doc_version = get_version_from_manual();
-my $cli_version = get_version_from_cli();
my $version_error = 0;
if ($version ne $config_version)
@@ -82,11 +81,6 @@ if ($version ne $doc_version)
print "$whoami: doc version = $doc_version\n";
$version_error = 1;
}
-if ($version ne $cli_version)
-{
- print "$whoami: qpdf.cc version = $cli_version\n";
- $version_error = 1;
-}
if ($version_error)
{
die "$whoami: version numbers are not consistent\n";
@@ -157,22 +151,6 @@ sub get_version_from_manual
$doc_version;
}
-sub get_version_from_cli
-{
- my $fh = safe_open("qpdf/qpdf.cc");
- my $cli_version = 'unknown';
- while (<$fh>)
- {
- if (m/expected_version = \"([^\"]+)\"/)
- {
- $cli_version = $1;
- last;
- }
- }
- $fh->close();
- $cli_version;
-}
-
sub safe_open
{
my $file = shift;