aboutsummaryrefslogtreecommitdiff
path: root/packages/Makefile
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2011-10-06 04:29:03 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2011-10-06 04:29:03 +0000
commit968c356f50ea0b66ac5b265070184db3cdce0790 (patch)
treec67f21947f8e4e7294501466590e4cd73a974533 /packages/Makefile
parent624f348e796376f72146fb386ba0edcf035b7efe (diff)
updated Gem version fetching
svn path=/trunk/; revision=15527
Diffstat (limited to 'packages/Makefile')
-rw-r--r--packages/Makefile2
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)