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
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 (.*)\.");