[open-ils-commits] r10566 - trunk/build/i18n
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Sep 9 10:54:04 EDT 2008
Author: dbs
Date: 2008-09-09 10:54:02 -0400 (Tue, 09 Sep 2008)
New Revision: 10566
Modified:
trunk/build/i18n/Makefile.in
Log:
On i18n install, copy localized data seed values to sql/Pg directory
Modified: trunk/build/i18n/Makefile.in
===================================================================
--- trunk/build/i18n/Makefile.in 2008-09-09 14:46:40 UTC (rev 10565)
+++ trunk/build/i18n/Makefile.in 2008-09-09 14:54:02 UTC (rev 10566)
@@ -15,10 +15,11 @@
EVTOUT=ils_events.xml.pot
EVTPO=ils_events.xml.po
EVTXML=ils_events.xml
-SQLSRC=../../Open-ILS/src/sql/Pg/950.data.seed-values.sql
+SQLSRCDIR=../../Open-ILS/src/sql/Pg/
+SQLSRCFILE=950.data.seed-values.sql
SQLPOT=db.seed.pot
SQLPO=db.seed.po
-SQLOUT=950.data.seed-values.sql
+SQLOUT=950.data.seed-values
PROGRESS=--progress none
# This Makefile can be used to generate and update PO files for Evergreen,
@@ -94,10 +95,10 @@
@po2moz $(PROGRESS) -o $(PROJECT)/$(LOCALE) -t $(SERVER_PROPSDIR)/en-US/ -i $(POINDIR)/$(LOCALE) 2>&1
sql2pot:
- @scripts/db-seed-i18n.py --pot $(SQLSRC) --output $(POTSRC)/$(SQLPOT)
+ @scripts/db-seed-i18n.py --pot $(SQLSRCDIR)/$(SQLSRCFILE) --output $(POTSRC)/$(SQLPOT)
po2sql:
- scripts/db-seed-i18n.py --sql $(POINDIR)/$(LOCALE)/$(SQLPO) --locale $(LOCALE) --output $(PROJECT)/$(LOCALE)/$(SQLOUT)
+ scripts/db-seed-i18n.py --sql $(POINDIR)/$(LOCALE)/$(SQLPO) --locale $(LOCALE) --output $(PROJECT)/$(LOCALE)/$(SQLOUT).sql
# Generate a fieldmapper IDL file that uses entities instead of hard-coded strings
fmidl2fmidlent:
@@ -128,3 +129,4 @@
cp $(PROJECT)/$(LOCALE)/lang.dtd $(DTDDIR)/$(LOCALE)/
cp $(PROJECT)/$(LOCALE)/opac.dtd $(DTDDIR)/$(LOCALE)/
@scripts/merge_ils_events.py --master $(EVTSRC) --localization $(PROJECT)/$(LOCALE)/$(EVTXML) --output $(EVTSRC)
+ cp $(PROJECT)/$(LOCALE)/$(SQLOUT).sql $(SQLSRCDIR)/$(SQLOUT)-$(LOCALE).sql
More information about the open-ils-commits
mailing list