]> mj.ucw.cz Git - pciutils.git/commitdiff
Remind the maintainer about the current API version.
authorMartin Mares <mj@ucw.cz>
Sat, 9 Sep 2006 12:52:34 +0000 (14:52 +0200)
committerMartin Mares <mj@ucw.cz>
Sat, 9 Sep 2006 12:52:34 +0000 (14:52 +0200)
ChangeLog
maint/release

index bf6373cca3d2580596e9fbca68cf70418835df91..99640422346555f5f9597ab6b568ecd445b03197 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2006-09-09  Martin Mares  <mj@ucw.cz>
 
+       * maint/release: Remind the maintainer about the current PCI_LIB_VERSION.
+
        * lib/pci.h: Updated PCI_LIB_VERSION.
 
        * lspci.c (show_machine): In the `-m' mode, do proper shell escaping
index 9ec434dba659c64b7667b4ade177a84cc940add0..63b6be0ba5228d7e39a009153e385485ad0b20ce 100755 (executable)
@@ -6,6 +6,14 @@ use strict;
 use warnings;
 require "maint/release.pm";
 
+# Check API version
+my $apiver = "???";
+open X, "lib/pci.h" or die;
+while (<X>) {
+       /^#define PCI_LIB_VERSION 0x(.{6})$/ and $apiver = $1;
+}
+print "API version is $apiver ... <confirm> "; <STDIN>;
+
 my $r = new UCW::Release("pciutils");
 my $ver = $r->GetVersionFromFile("Makefile", "VERSION=(.*)");
 $r->GetVersionsFromChangelog("ChangeLog", "Released as (.*)\.");