[open-ils-commits] r15087 - trunk/build/i18n (sboyette)
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Dec 4 14:14:31 EST 2009
Author: sboyette
Date: 2009-12-04 14:14:27 -0500 (Fri, 04 Dec 2009)
New Revision: 15087
Modified:
trunk/build/i18n/Makefile
Log:
adding install_all_locales target which interns the process of doing just that
Modified: trunk/build/i18n/Makefile
===================================================================
--- trunk/build/i18n/Makefile 2009-12-04 19:13:13 UTC (rev 15086)
+++ trunk/build/i18n/Makefile 2009-12-04 19:14:27 UTC (rev 15087)
@@ -233,3 +233,6 @@
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
More information about the open-ils-commits
mailing list