From: Martin Mares Date: Thu, 30 Oct 2008 21:38:08 +0000 (+0100) Subject: LibUCW: Export version of the libraries as well as of Sherlock. X-Git-Tag: holmes-import~227^2~5^2~2 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=d71fff5adaaa9cb150d8dc1d9a26e79182d295e3;p=libucw.git LibUCW: Export version of the libraries as well as of Sherlock. --- diff --git a/ucw/default.cfg b/ucw/default.cfg index 6ff7cdeb..5fc8a98e 100644 --- a/ucw/default.cfg +++ b/ucw/default.cfg @@ -4,6 +4,8 @@ # Version of the whole package Set("SHERLOCK_VERSION" => "3.13-dev"); Set("SHERLOCK_VERSION_CODE" => 3013000); +Set("UCW_VERSION" => Get("SHERLOCK_VERSION")); +Set("UCW_VERSION_CODE" => Get("SHERLOCK_VERSION_CODE")); # Compile everything with debug information and ASSERT's UnSet("CONFIG_DEBUG"); diff --git a/ucw/perl/UCW/Configure/LibUCW.pm b/ucw/perl/UCW/Configure/LibUCW.pm index fe3350e4..6a25dbba 100644 --- a/ucw/perl/UCW/Configure/LibUCW.pm +++ b/ucw/perl/UCW/Configure/LibUCW.pm @@ -52,7 +52,7 @@ PostConfig { # Included symbols '^CONFIG_' => 1, '^CPU_' => 1, - '^SHERLOCK_VERSION_' => 1, + '^(SHERLOCK|UCW)_VERSION(_|$)' => 1, ]); } if Get("CONFIG_INSTALL_API");