From: Jo-Philipp Wich Date: Thu, 14 May 2009 21:19:05 +0000 (+0000) Subject: build: make po target depend on host target X-Git-Tag: 0.9.0~450 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8de14bbfbf6070899849226d85b8a9bc1dee449e;p=oweals%2Fluci.git build: make po target depend on host target --- diff --git a/Makefile b/Makefile index 4abb358b2..0f0d3aabc 100644 --- a/Makefile +++ b/Makefile @@ -66,7 +66,7 @@ uvldocs: hostenv build/hostenv.sh $(realpath host) $(LUA_MODULEDIR) $(LUA_LIBRARYDIR) \ "build/uvldoc $(realpath host) $(UVL_SCHEMEDIR) uvldocs $(DOCS)" -po: +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; \