build: make po target depend on host target
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 14 May 2009 21:19:05 +0000 (21:19 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 14 May 2009 21:19:05 +0000 (21:19 +0000)
Makefile

index 4abb358b2179136ae089e1dccdce0e88b0c6c1f5..0f0d3aabc6ee515d3c94e90d1b7c7d92260caf27 100644 (file)
--- 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; \