[open-ils-commits] r11073 - branches/rel_1_4/build/i18n

svn at svn.open-ils.org svn at svn.open-ils.org
Wed Nov 5 22:59:29 EST 2008


Author: dbs
Date: 2008-11-05 22:59:27 -0500 (Wed, 05 Nov 2008)
New Revision: 11073

Modified:
   branches/rel_1_4/build/i18n/Makefile
Log:
Backport r11069 from trunk: Generate and place an en-US version of fm_IDL.dtd if any other locale is installed

Modified: branches/rel_1_4/build/i18n/Makefile
===================================================================
--- branches/rel_1_4/build/i18n/Makefile	2008-11-06 03:45:08 UTC (rev 11072)
+++ branches/rel_1_4/build/i18n/Makefile	2008-11-06 03:59:27 UTC (rev 11073)
@@ -131,8 +131,13 @@
 fmidlpo2entity:
 	@scripts/fieldmapper.py --entity $(POINDIR)/$(LOCALE)/$(FMIDLPO) --output $(PROJECT)/$(LOCALE)/$(FMIDLENTITY)
 
+# Generate en-US DTD from a POT file; required if any other locale is installed
+fmidlpo2entity-en:
+	@scripts/fieldmapper.py --entity $(POINDIR)/en-US/$(FMIDLOUT) --output $(PROJECT)/en-US/$(FMIDLENTITY)
+	cp $(PROJECT)/en-US/$(FMIDLENTITY) $(DTDDIR)/en-US/
+
 # Install updated project files to their corresponding location in the source tree
-install: updatepo project fmidl2fmidlent
+install: updatepo project fmidl2fmidlent fmidlpo2entity-en
 	mkdir -p $(CHROME_PROPSDIR)/$(LOCALE)
 	cp $(PROJECT)/$(LOCALE)/auth.properties $(CHROME_PROPSDIR)/$(LOCALE)/.
 	cp $(PROJECT)/$(LOCALE)/offline.properties $(CHROME_PROPSDIR)/$(LOCALE)/.



More information about the open-ils-commits mailing list