From d2e5c01511e73cb9c6279e08a7d17d80217aa3ef Mon Sep 17 00:00:00 2001 From: vsr Date: Thu, 22 Mar 2012 11:42:44 +0000 Subject: [PATCH] Add functions to know that SALOME module version is development one --- GEOM_version.h.in | 1 + bin/VERSION.in | 4 +++- configure.ac | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/GEOM_version.h.in b/GEOM_version.h.in index 38c4c8e80..4924a56c0 100644 --- a/GEOM_version.h.in +++ b/GEOM_version.h.in @@ -33,5 +33,6 @@ #define GEOM_VERSION_STR "@VERSION@" #define GEOM_VERSION @XVERSION@ +#define GEOM_DEVELOPMENT @VERSION_DEV@ #endif // __GEOM_VERSION_H__ diff --git a/bin/VERSION.in b/bin/VERSION.in index 108ad2265..33c708f57 100755 --- a/bin/VERSION.in +++ b/bin/VERSION.in @@ -1 +1,3 @@ -THIS IS SALOME - GEOM VERSION: @VERSION@ +[SALOME GEOM] : @VERSION@ +[DEVELOPMENT] : @VERSION_DEV@ +[DESCRIPTION] : SALOME Geometry module diff --git a/configure.ac b/configure.ac index 929a9190b..a2f85ba86 100644 --- a/configure.ac +++ b/configure.ac @@ -33,6 +33,8 @@ AM_INIT_AUTOMAKE([tar-pax -Wno-portability]) XVERSION=`echo $VERSION | awk -F. '{printf("0x%02x%02x%02x",$1,$2,$3)}'` AC_SUBST(XVERSION) +VERSION_DEV=1 +AC_SUBST(VERSION_DEV) # set up MODULE_NAME variable for dynamic construction of directories (resources, etc.) MODULE_NAME=geom -- 2.39.2