summaryrefslogtreecommitdiff
path: root/TAO/rules.tao.GNU
diff options
context:
space:
mode:
authorbala <balanatarajan@users.noreply.github.com>2002-10-21 23:20:30 +0000
committerbala <balanatarajan@users.noreply.github.com>2002-10-21 23:20:30 +0000
commit1ec9ac145fa692d815eb64c45aaa5e9527e8aeaa (patch)
tree3b9fe3afdb82b3c0c57199fe516f32096792ad74 /TAO/rules.tao.GNU
parenta8ffc62c2c8231d2d3b7ed2f2187e2be3bc41e15 (diff)
downloadATCD-1ec9ac145fa692d815eb64c45aaa5e9527e8aeaa.tar.gz
ChangeLogTag: Mon Oct 21 18:17:06 2002 Balachandran Natarajan <bala@isis-server.isis.vanderbilt.edu>
Diffstat (limited to 'TAO/rules.tao.GNU')
-rw-r--r--TAO/rules.tao.GNU7
1 files changed, 3 insertions, 4 deletions
diff --git a/TAO/rules.tao.GNU b/TAO/rules.tao.GNU
index 09925cf4549..fdab0fd2880 100644
--- a/TAO/rules.tao.GNU
+++ b/TAO/rules.tao.GNU
@@ -205,10 +205,9 @@ endif
# minor and beta) to run, but applications with dependencies on libraries
# with different minor or major or beta versions to fail.
#
-TAO_MAJOR_VERSION := $(shell echo `perl -ne 'if (/TAO_VERSION/) { s/[^0-9]+(\d+)+\.(\d+)+\.(\d+)+.+/\1/ ; print }' ${TAO_ROOT}/tao/Version.h`)
-TAO_MINOR_VERSION := $(shell echo `perl -ne 'if (/TAO_VERSION/) { s/[^0-9]+(\d+)+\.(\d+)+\.(\d+)+.+/\2/ ; print }' ${TAO_ROOT}/tao/Version.h`)
-TAO_BETA_VERSION := $(shell echo `perl -ne 'if (/TAO_VERSION/) { s/[^0-9]+(\d+)+\.(\d+)+\.(\d+)+.+/\3/ ; print }' ${TAO_ROOT}/tao/Version.h`)
-
+TAO_MAJOR_VERSION := $(shell awk '/TAO_MAJOR_VERSION/ { print $$3}' ${TAO_ROOT}/tao/Version.h)
+TAO_MINOR_VERSION := $(shell awk '/TAO_MINOR_VERSION/ { print $$3}' ${TAO_ROOT}/tao/Version.h)
+TAO_BETA_VERSION := $(shell awk '/TAO_BETA_VERSION/ { print $$3}' ${TAO_ROOT}/tao/Version.h)
# Version number of the libraries
#
ifneq ($(SOVERSION),)