summaryrefslogtreecommitdiff
path: root/make-version.pl
diff options
context:
space:
mode:
authorGerald Combs <gerald@zing.org>2016-04-28 16:48:45 -0700
committerGerald Combs <gerald@wireshark.org>2016-04-29 00:42:08 +0000
commit3553df24640422f2d2368035956714683e63f498 (patch)
tree644833325d07de318d2cf772821d402e10f00793 /make-version.pl
parent455c30a54b3e682c1d9a066105164066e7245e13 (diff)
downloadwireshark-3553df24640422f2d2368035956714683e63f498.tar.gz
Print version variables in make-version.pl
Print our various version variables when we set versions. Change-Id: I9212369c17f3d2a040e83900945eb57670d4992d Reviewed-on: https://code.wireshark.org/review/15156 Petri-Dish: Gerald Combs <gerald@wireshark.org> Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'make-version.pl')
-rwxr-xr-xmake-version.pl9
1 files changed, 7 insertions, 2 deletions
diff --git a/make-version.pl b/make-version.pl
index 949fbdea3c..f1fc8466a1 100755
--- a/make-version.pl
+++ b/make-version.pl
@@ -622,6 +622,11 @@ sub update_cmake_lib_releases
# Update distributed files that contain any version information
sub update_versioned_files
{
+ # Matches CMakeLists.txt
+ printf "GR: %d, MaV: %d, MiV: %d, PL: %d, EV: %s\n",
+ $num_commits, $version_pref{"version_major"},
+ $version_pref{"version_minor"}, $version_pref{"version_micro"},
+ $package_string;
&update_cmakelists_txt;
&update_configure_ac;
&update_config_nmake;
@@ -756,7 +761,7 @@ sub get_config {
if ($set_version || $set_release) {
if ($set_version) {
- print "Generating version information\n";
+ print "Generating version information.\n";
}
if ($version_pref{"enable"} == 0) {
@@ -765,7 +770,7 @@ if ($set_version || $set_release) {
}
if ($set_release) {
- print "Generating release information\n";
+ print "Generating release information.\n";
} else {
print "Resetting release information\n";
$num_commits = 0;