From de7842fdd3beaa694cc0cba2275962ab11f1e07b Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 19 May 2009 02:41:14 +0000 Subject: build: add variable to restrict po language and use it for the core i18n packages --- build/module.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build') diff --git a/build/module.mk b/build/module.mk index 6aeb9ba56e..70d54dc852 100644 --- a/build/module.mk +++ b/build/module.mk @@ -26,7 +26,7 @@ luasource: for i in $$(find dist -name .svn -or -name .gitignore); do rm -rf $$i || true; done ifneq ($(PO),) for file in $(PO); do \ - cp $(HOST)/lua-po/$$file.*.lua dist$(LUCI_MODULEDIR)/i18n/; \ + cp $(HOST)/lua-po/$$file.$(if $(PO_LANG),$(PO_LANG),*).lua dist$(LUCI_MODULEDIR)/i18n/; \ done endif -- cgit v1.2.3