summaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-05-19 02:18:28 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-05-19 02:18:28 +0000
commit7bf803250be75dac62c6e048fa675c93c9093b9a (patch)
treef84bb33ebc6ba26e2fc2a2b19e9f8e537de61a62 /Makefile
parent2d0ead91d7e4a6ccdbf3029baf3aca66a7729b9b (diff)
build: integrate po files in the build system
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 0f0d3aabc..1b9e25916 100644
--- a/Makefile
+++ b/Makefile
@@ -14,8 +14,12 @@ build: gccbuild luabuild
gccbuild:
for i in $(MODULES); do make -C$$i compile; done
-luabuild:
- for i in $(MODULES); do make -C$$i luabuild; done
+luabuild: i18nbuild
+ for i in $(MODULES); do HOST=$(realpath host) make -C$$i luabuild; done
+
+i18nbuild:
+ mkdir -p host/lua-po
+ ./build/i18n-po2lua.pl ./po host/lua-po
clean:
rm -rf docs