build/i18n-lua2po.pl was deleted in 2012 because it is obsolete. The
new script to update the PO and POT files is build/i18n-sync.sh.

Signed-off-by: Alex Henrie <[email protected]>
---
 Makefile | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/Makefile b/Makefile
index 362eed6..db53f9c 100644
--- a/Makefile
+++ b/Makefile
@@ -83,10 +83,7 @@ nixiodocs: hostenv
        build/hostenv.sh $(realpath host) $(LUA_MODULEDIR) $(LUA_LIBRARYDIR) 
"build/makedocs.sh libs/nixio/ nixiodocs"
 
 po: host
-       for L in $${LANGUAGE:-$$(find i18n/ -path 'i18n/*/luasrc/i18n/*' -name 
'default.*.lua' | \
-         sed -e 's!.*/default\.\(.*\)\.lua!\1!')}; do \
-           build/i18n-lua2po.pl . $(realpath host)/po $$L; \
-       done
+       build/i18n-sync.sh
 
 run:
        #       make run is deprecated                          #
-- 
1.9.1
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to