From 5ad27d09a0e68e2328b1655a4f190a034443dd5f Mon Sep 17 00:00:00 2001 From: phasefx Date: Sat, 16 Jul 2005 00:06:47 +0000 Subject: [PATCH] version stamping. I don't know how to use the cvs version macro yet git-svn-id: svn://svn.open-ils.org/ILS/trunk@1227 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Evergreen/staff_client/Makefile | 18 ++++++++++++++++++ Evergreen/staff_client/application.ini | 4 ++-- .../chrome/locale/en-US/evergreen/auth.dtd | 4 ++-- Evergreen/staff_client/install.rdf | 4 ++-- 4 files changed, 24 insertions(+), 6 deletions(-) diff --git a/Evergreen/staff_client/Makefile b/Evergreen/staff_client/Makefile index ed79ec65dc..22545ba4de 100644 --- a/Evergreen/staff_client/Makefile +++ b/Evergreen/staff_client/Makefile @@ -1,3 +1,8 @@ +VERSION=0.0.9 +PACKAGE=Evergreen +DESCRIPTION=Evergreen Staff Client Pre-Alpha +BUILD=2005071519 + ILS_DIR=${PWD}/../.. RETRIEVE_FIELDMAPPER=wget -N http://gapines.org/js/util/fieldmapper.js @@ -7,8 +12,21 @@ RETRIEVE_CLIENT_CONFIG=cp ${ILS_DIR}/OpenSRF/examples/math_xul_client/math/conte all: evergreen.xpi @echo @echo How do makefiles work again? + @echo BUILD = ${BUILD} touch application.ini +stamp: + sed -i s/^Version=.\*/Version=${VERSION}/ application.ini + sed -i s/^BuildID=.\*/BuildID=${BUILD}/ application.ini + sed -i s/^Name=.\*/Name=${PACKAGE}/ application.ini + sed -i 's/.*<\/em:version>/${VERSION}<\/em:version>/' install.rdf + sed -i 's/.*<\/em:name>/${PACKAGE}<\/em:name>/' install.rdf + sed -i 's/.*<\/em:description>/${DESCRIPTION}<\/em:description>/' install.rdf + sed -i "s/extVersion: '.\*'/extVersion: '${VERSION}'/" install.js + sed -i "s/extFullName: '.\*'/extFullName: '${DESCRIPTION}'/" install.js + sed -i 's/auth\.title ".*"/auth\.title "${DESCRIPTION}"/' chrome/locale/en-US/evergreen/auth.dtd + sed -i 's/auth\.version ".*"/auth\.version "${VERSION} ${BUILD}"/' chrome/locale/en-US/evergreen/auth.dtd + generated: @echo @echo These things are installation specific. The staff client is the last thing you should try to build. diff --git a/Evergreen/staff_client/application.ini b/Evergreen/staff_client/application.ini index 5a2d975a6c..a037ae6c75 100644 --- a/Evergreen/staff_client/application.ini +++ b/Evergreen/staff_client/application.ini @@ -10,11 +10,11 @@ Vendor=PINES Name=Evergreen ; ; This field specifies your application's version. This field is optional. -Version=0.0.4 +Version=0.0.9 ; ; This field specifies your application's build ID (timestamp). This field is ; required. -BuildID=2005061716 +BuildID=2005071519 ; ; This field specifies a compact copyright notice for your application. This ; field is optional. diff --git a/Evergreen/staff_client/chrome/locale/en-US/evergreen/auth.dtd b/Evergreen/staff_client/chrome/locale/en-US/evergreen/auth.dtd index 0a4d604eed..0bdf1547c8 100644 --- a/Evergreen/staff_client/chrome/locale/en-US/evergreen/auth.dtd +++ b/Evergreen/staff_client/chrome/locale/en-US/evergreen/auth.dtd @@ -1,5 +1,5 @@ - - + + diff --git a/Evergreen/staff_client/install.rdf b/Evergreen/staff_client/install.rdf index 2254fb5163..8bd37fa9a1 100755 --- a/Evergreen/staff_client/install.rdf +++ b/Evergreen/staff_client/install.rdf @@ -7,7 +7,7 @@ {c3dd711b-c9b4-4785-b8f8-6157149c8905} - 0.0.4 + 0.0.9 2 Evergreen - PINES ILS Evergreen Staff Client + Evergreen Staff Client Pre-Alpha http://open-ils.org/ -- 2.43.2