From: dbs Date: Thu, 6 Nov 2008 03:30:38 +0000 (+0000) Subject: Generate and place an en-US version of fm_IDL.dtd if any other locale is installed X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=55d4f4e86797e384e9a778b793a223f2eb91a3a7;p=Evergreen.git Generate and place an en-US version of fm_IDL.dtd if any other locale is installed git-svn-id: svn://svn.open-ils.org/ILS/trunk@11069 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/build/i18n/Makefile b/build/i18n/Makefile index 9ac2fdcb42..02cb697c4c 100644 --- a/build/i18n/Makefile +++ b/build/i18n/Makefile @@ -131,8 +131,13 @@ fmidl2pot: 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)/.