From 651fd74a386fe778785e21fcd330da32494f1beb Mon Sep 17 00:00:00 2001 From: vsr Date: Thu, 22 Mar 2012 11:22:29 +0000 Subject: [PATCH] Add functions to know that SALOME module version is development one --- GHS3DPRLPLUGIN_version.h.in | 1 + bin/VERSION.in | 4 +++- configure.ac | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/GHS3DPRLPLUGIN_version.h.in b/GHS3DPRLPLUGIN_version.h.in index 659fec5..cb805ab 100644 --- a/GHS3DPRLPLUGIN_version.h.in +++ b/GHS3DPRLPLUGIN_version.h.in @@ -31,5 +31,6 @@ #define GHS3DPRLPLUGIN_VERSION_STR "@VERSION@" #define GHS3DPRLPLUGIN_VERSION @XVERSION@ +#define GHS3DPRLPLUGIN_DEVELOPMENT @VERSION_DEV@ #endif // __GHS3DPRLPLUGIN_VERSION_H__ diff --git a/bin/VERSION.in b/bin/VERSION.in index e3551b5..ac37cb2 100755 --- a/bin/VERSION.in +++ b/bin/VERSION.in @@ -1 +1,3 @@ -THIS IS SALOME - GHS3DPRLPLUGIN VERSION: @VERSION@ +[SALOME GHS3DPRLPLUGIN] : @VERSION@ +[DEVELOPMENT] : @VERSION_DEV@ +[DESCRIPTION] : DISTENE TetGen-GHS3d parallel meshing plug-in for SALOME Mesh module diff --git a/configure.ac b/configure.ac index da1226f..31d0c1c 100644 --- a/configure.ac +++ b/configure.ac @@ -31,6 +31,8 @@ AM_INIT_AUTOMAKE([-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=ghs3dprlplugin -- 2.39.2