1712 |
raphael |
1 |
dnl /* eg: m4 -D _JREST_SERVICES_PATH_=../../jrest/services -D _SUFFIX_=" - beta" < apropos.js.m4 */
|
|
|
2 |
ifdef(`_JREST_SERVICES_PATH_', `', `define(`_JREST_SERVICES_PATH_', `../../jrest/services')')dnl
|
|
|
3 |
ifdef(`_SUFFIX_', `', `define(`_SUFFIX_')')dnl
|
|
|
4 |
define(`_NAME_', `Collections En Ligne'_SUFFIX_)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
|
|
|
7 |
define(`_SVN_REV_', esyscmd(svnversion -n))dnl
|
1715 |
raphael |
8 |
define(`_SVN_VERSION_NAME_', esyscmd(svn info|sed -nr '/^URL.*\/branches\//s;.*/branches/([^/]+)$;\1;p'|tr -d "\n"))dnl
|
1716 |
raphael |
9 |
define(`_SVN_VERSION_', patsubst(_SVN_VERSION_NAME_, `^v\(.*\)-.*', `\1'))dnl
|
1712 |
raphael |
10 |
define(`_SVN_NAME_', patsubst(_SVN_VERSION_NAME_, `^.*-\(.*\)', `\1'))dnl
|
|
|
11 |
define(`_SVN_SERVICES_REV_', esyscmd(`svnversion -n '_JREST_SERVICES_PATH_))dnl
|
1715 |
raphael |
12 |
ifdef(`_SVN_VERSION_NAME_', `', `define(`_SVN_NAME_', trunk)')dnl
|
907 |
jpm |
13 |
var apropos = {
|
1712 |
raphael |
14 |
appliNom:"_NAME_",
|
1107 |
jpm |
15 |
appliCode:"COEL",
|
1712 |
raphael |
16 |
appliVersionCode:"_SVN_VERSION_",
|
|
|
17 |
appliVersionNom:"_SVN_NAME_",
|
|
|
18 |
developpeurs:"Jean-Pascal MILCENT, Grégoire DUCHÉ, Aurélien PERONNET, Raphaël Droz",
|
1023 |
jpm |
19 |
traducteurs:"",
|
1602 |
aurelien |
20 |
testeurs:"Louise BOULANGEAT, Andrine FAURE, Véronique SCHÄFER, Danièle DOMEYNE",
|
1023 |
jpm |
21 |
licence:"GPL v3 et CECILL v2",
|
1712 |
raphael |
22 |
dateHeureCompilation:"_DATE_",
|
|
|
23 |
revisionGlobale:"_SVN_REV_",
|
|
|
24 |
revisionGlobaleServices:"_SVN_SERVICES_REV_",
|
|
|
25 |
versionJavaCompilation:"_JAVA_VERSION_"
|
|
|
26 |
};
|