[open-ils-commits] r11069 - trunk/build/i18n

svn at svn.open-ils.org svn at svn.open-ils.org
Wed Nov 5 22:30:39 EST 2008


Author: dbs
Date: 2008-11-05 22:30:38 -0500 (Wed, 05 Nov 2008)
New Revision: 11069

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


Modified: trunk/build/i18n/Makefile
===================================================================
--- trunk/build/i18n/Makefile	2008-11-06 02:12:47 UTC (rev 11068)
+++ trunk/build/i18n/Makefile	2008-11-06 03:30:38 UTC (rev 11069)
@@ -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