Line 3... |
Line 3... |
3 |
ifdef(`_SUFFIX_', `', `define(`_SUFFIX_')')dnl
|
3 |
ifdef(`_SUFFIX_', `', `define(`_SUFFIX_')')dnl
|
4 |
define(`_NAME_', `Collections En Ligne'_SUFFIX_)dnl
|
4 |
define(`_NAME_', `Collections En Ligne'_SUFFIX_)dnl
|
5 |
define(`_DATE_', `esyscmd(date|tr -d "\n")')dnl
|
5 |
define(`_DATE_', `esyscmd(date|tr -d "\n")')dnl
|
6 |
define(`_JAVA_VERSION_', esyscmd(java -version 2>&1|sed -e 's/\"//g' -e :a -e '/$/N; s/\n/ - /; ta'|tr -d "\n"))dnl
|
6 |
define(`_JAVA_VERSION_', esyscmd(java -version 2>&1|sed -e 's/\"//g' -e :a -e '/$/N; s/\n/ - /; ta'|tr -d "\n"))dnl
|
7 |
define(`_SVN_REV_', esyscmd(svnversion -n))dnl
|
7 |
define(`_SVN_REV_', esyscmd(svnversion -n))dnl
|
8 |
define(`_SVN_VERSION_NAME_', esyscmd(svn info|sed -nr '/^URL.*\/branches\//s;.*/branches/([^/]+)$;\1;p'))dnl
|
8 |
define(`_SVN_VERSION_NAME_', esyscmd(svn info|sed -nr '/^URL.*\/branches\//s;.*/branches/([^/]+)$;\1;p'|tr -d "\n"))dnl
|
9 |
define(`_SVN_VERSION_', patsubst(_SVN_VERSION_NAME_, `^\(.*\)-.*', `\1'))dnl
|
9 |
define(`_SVN_VERSION_', patsubst(_SVN_VERSION_NAME_, `^v\(.*\)-.*', `\1'))dnl
|
10 |
define(`_SVN_NAME_', patsubst(_SVN_VERSION_NAME_, `^.*-\(.*\)', `\1'))dnl
|
10 |
define(`_SVN_NAME_', patsubst(_SVN_VERSION_NAME_, `^.*-\(.*\)', `\1'))dnl
|
11 |
define(`_SVN_SERVICES_REV_', esyscmd(`svnversion -n '_JREST_SERVICES_PATH_))dnl
|
11 |
define(`_SVN_SERVICES_REV_', esyscmd(`svnversion -n '_JREST_SERVICES_PATH_))dnl
|
12 |
ifdef(_SVN_VERSION_NAME_, (), define(`_SVN_NAME_', trunk))dnl
|
12 |
ifdef(`_SVN_VERSION_NAME_', `', `define(`_SVN_NAME_', trunk)')dnl
|
13 |
var apropos = {
|
13 |
var apropos = {
|
14 |
appliNom:"_NAME_",
|
14 |
appliNom:"_NAME_",
|
15 |
appliCode:"COEL",
|
15 |
appliCode:"COEL",
|
16 |
appliVersionCode:"_SVN_VERSION_",
|
16 |
appliVersionCode:"_SVN_VERSION_",
|
17 |
appliVersionNom:"_SVN_NAME_",
|
17 |
appliVersionNom:"_SVN_NAME_",
|