--
-$Id: ChangeLog 16 2005-03-29 15:56:37Z tilman $
+$Id: ChangeLog 17 2005-03-29 16:02:33Z tilman $
++
2005-03-29 Tilman Sauerbeck (tilman at code-monkey de)
* README: Grammar fix
+ * Rakefile: Tweak lookup of PKG_VERSION
2005-03-28 Tilman Sauerbeck (tilman at code-monkey de)
* Rakefile: Fixed casing of "Ruby-EET"
-# $Id: Rakefile 15 2005-03-28 21:07:26Z tilman $
+# $Id: Rakefile 17 2005-03-29 16:02:33Z tilman $
require "rbconfig"
require "rake/clean"
end
PKG_NAME = "ruby-eet"
-PKG_VERSION = `grep VERSION lib/eet.rb`.match(/VERSION = \"(.*)\"/).
- captures.first
+PKG_VERSION = File.read("lib/eet.rb").
+ match(/^\s*VERSION = \"(.*)\"\s$/).captures.first
ext_obj = "ext/ext.o"
ext_lib = "ext/eet_ext.so"