Rev 1712 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
dnl /* eg: m4 -D _JREST_SERVICES_PATH_=../../jrest/services -D _SUFFIX_=" - beta" < apropos.js.m4 */
ifdef(`_JREST_SERVICES_PATH_', `', `define(`_JREST_SERVICES_PATH_', `../../jrest/services')')dnl
ifdef(`_SUFFIX_', `', `define(`_SUFFIX_')')dnl
define(`_NAME_', `Collections En Ligne'_SUFFIX_)dnl
define(`_DATE_', `esyscmd(date|tr -d "\n")')dnl
define(`_JAVA_VERSION_', esyscmd(java -version 2>&1|sed -e 's/\"//g' -e :a -e '/$/N; s/\n/ - /; ta'|tr -d "\n"))dnl
define(`_SVN_REV_', esyscmd(svnversion -n))dnl
define(`_SVN_VERSION_NAME_', esyscmd(svn info|sed -nr '/^URL.*\/branches\//s;.*/branches/([^/]+)$;\1;p'|tr -d "\n"))dnl
define(`_SVN_VERSION_', patsubst(_SVN_VERSION_NAME_, `^\(.*\)-.*', `\1'))dnl
define(`_SVN_NAME_', patsubst(_SVN_VERSION_NAME_, `^.*-\(.*\)', `\1'))dnl
define(`_SVN_SERVICES_REV_', esyscmd(`svnversion -n '_JREST_SERVICES_PATH_))dnl
ifdef(`_SVN_VERSION_NAME_', `', `define(`_SVN_NAME_', trunk)')dnl
var apropos = {
appliNom:"_NAME_",
appliCode:"COEL",
appliVersionCode:"_SVN_VERSION_",
appliVersionNom:"_SVN_NAME_",
developpeurs:"Jean-Pascal MILCENT, Grégoire DUCHÉ, Aurélien PERONNET, Raphaël Droz",
traducteurs:"",
testeurs:"Louise BOULANGEAT, Andrine FAURE, Véronique SCHÄFER, Danièle DOMEYNE",
licence:"GPL v3 et CECILL v2",
dateHeureCompilation:"_DATE_",
revisionGlobale:"_SVN_REV_",
revisionGlobaleServices:"_SVN_SERVICES_REV_",
versionJavaCompilation:"_JAVA_VERSION_"
};