From 2d75bd77404772a0ca724ef6318cd65ffffed4e4 Mon Sep 17 00:00:00 2001
From: sboyette <sboyette@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Date: Fri, 4 Dec 2009 19:14:27 +0000
Subject: [PATCH] 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
---
 build/i18n/Makefile | 3 +++
 1 file changed, 3 insertions(+)

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
-- 
2.11.0