mirror of https://git.openwrt.org/project/luci.git
i18n: .xml should not overwrite .lua files if they are older
This commit is contained in:
parent
e1224f7bd0
commit
c7852861cf
|
@ -16,7 +16,7 @@ compile:
|
||||||
clean: luaclean
|
clean: luaclean
|
||||||
|
|
||||||
i18n:
|
i18n:
|
||||||
[ -n "$(XSLTPROC)" ] && for i in luasrc/i18n/*.xml; do [ -f "$$i" ]\
|
[ -n "$(XSLTPROC)" ] && for i in luasrc/i18n/*.xml; do [ "$$i" -nt "$${i%%[.]xml}.lua" ]\
|
||||||
&& $(XSLTPROC) $(MAKEPATH)i18n-lua-xhtml1.xsl $$i > $${i%%[.]xml}.lua; done || true
|
&& $(XSLTPROC) $(MAKEPATH)i18n-lua-xhtml1.xsl $$i > $${i%%[.]xml}.lua; done || true
|
||||||
|
|
||||||
luasource:
|
luasource:
|
||||||
|
|
Loading…
Reference in New Issue