turns out i needed 'newpot' as well as 'newpo'. also split up for loop over several...
authorsboyette <sboyette@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 8 Dec 2009 21:46:50 +0000 (21:46 +0000)
committersboyette <sboyette@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 8 Dec 2009 21:46:50 +0000 (21:46 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15111 dcc99617-32d9-48b4-a31d-7c20da2025e4

build/i18n/Makefile

index 994ca13..34a5c78 100644 (file)
@@ -234,5 +234,11 @@ install: updatepo project fmidl2fmidlent fmidlpo2entity-en
        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
+install_all_locales: newpo newpot
+       for i in `ls po/*/*po|grep -v en-US | cut -f3 -d'/' | cut -f1 -d. | sort | uniq`; \
+       do \
+       make LOCALE=$$i install; \
+       RC=$$?; \
+       if [ "$$RC" -gt 0 ]; \
+       then echo $$RC; exit $$RC; \
+       fi; done