diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2011-10-06 04:29:03 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2011-10-06 04:29:03 +0000 |
commit | 968c356f50ea0b66ac5b265070184db3cdce0790 (patch) | |
tree | c67f21947f8e4e7294501466590e4cd73a974533 | |
parent | 624f348e796376f72146fb386ba0edcf035b7efe (diff) |
updated Gem version fetching
svn path=/trunk/; revision=15527
-rw-r--r-- | packages/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/Makefile b/packages/Makefile index a9897257..aaf70119 100644 --- a/packages/Makefile +++ b/packages/Makefile @@ -38,7 +38,7 @@ CYCLONE_BUILD := $(shell grep CYCLONE_BUILD \ cut -d '"' -f 2) CYCLONE_VERSION := $(CYCLONE_MAJOR_VERSION) $(CYCLONE_RELEASE) $(CYCLONE_BUILD) -GEM_VERSION := $(shell sed -n 's|.*GEM_VERSION_MAJOR ||p' $(gem_src)/src/Base/GemVersion.h).$(shell sed -n 's|.*GEM_VERSION_MINOR ||p' $(gem_src)/src/Base/GemVersion.h) +GEM_VERSION := $(shell sed -n 's|^AC_INIT.\[Gem\],\[\([0-9]\).*|\1|p' $(gem_src)/configure.ac).$(shell sed -n 's|^AC_INIT.\[Gem\],\[[0-9]\.\([0-9][0-9]*\).*|\1|p' $(gem_src)/configure.ac) MAXLIB_VERSION := $(shell grep "define VERSION" \ $(externals_src)/maxlib/maxlib.c | cut -d '"' -f 2) |