From: sboyette Date: Fri, 4 Dec 2009 19:14:27 +0000 (+0000) Subject: adding install_all_locales target which interns the process of doing just that X-Git-Tag: kcls-grey-screen-prod1~2864 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=2d75bd77404772a0ca724ef6318cd65ffffed4e4;p=evergreen%2Fequinox.git adding install_all_locales target which interns the process of doing just that git-svn-id: svn://svn.open-ils.org/ILS/trunk@15087 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/build/i18n/Makefile b/build/i18n/Makefile index 73788d89ad..994ca1304c 100644 --- a/build/i18n/Makefile +++ b/build/i18n/Makefile @@ -233,3 +233,6 @@ install: updatepo project fmidl2fmidlent fmidlpo2entity-en cp $(PROJECT)/$(LOCALE)/opac.js $(DOJO_OPAC_SRC)/$(DOJO_LOCALE)/opac.js mkdir -p $(DOJO_RPT_SRC)/$(DOJO_LOCALE) cp $(PROJECT)/$(LOCALE)/reports.js $(DOJO_RPT_SRC)/$(DOJO_LOCALE)/reports.js + +install_all_locales: newpo + for i in `ls po/*/*po|grep -v en-US | cut -f3 -d'/' | cut -f1 -d. | sort | uniq`; do RC=`make LOCALE=$$i install`; if [ "$$RC" > "0" ]; then break; fi; done