Salome HOME
projects
/
samples
/
pyhello.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c84df8a
)
Add functions to know that SALOME module version is development one
author
vsr
<vsr@opencascade.com>
Thu, 22 Mar 2012 16:04:56 +0000
(16:04 +0000)
committer
vsr
<vsr@opencascade.com>
Thu, 22 Mar 2012 16:04:56 +0000
(16:04 +0000)
bin/VERSION.in
patch
|
blob
|
history
configure.ac
patch
|
blob
|
history
diff --git
a/bin/VERSION.in
b/bin/VERSION.in
index f5741c60d996a5b584c7a4c962117bdaddad1224..011a48b51b74b4446544550527cf09cf09e77314 100755
(executable)
--- a/
bin/VERSION.in
+++ b/
bin/VERSION.in
@@
-1
+1,3
@@
-THIS IS SALOME - PYHELLO VERSION: @VERSION@
+[SALOME PYHELLO] : @VERSION@
+[DEVELOPMENT] : @VERSION_DEV@
+[DESCRIPTION] : Sample Python SALOME module
diff --git
a/configure.ac
b/configure.ac
index bdf724610b46da7711e143d1ae7598a02e5fa218..3ddb25dec867b31cfe1632d02d54a47d154de5ce 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-35,6
+35,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=pyhello