From: Steven Barth Date: Sun, 14 Dec 2008 17:47:08 +0000 (+0000) Subject: i18n: .xml should not overwrite .lua files if they are older X-Git-Tag: 0.8.3~16 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c7852861cf3b883dc3a237dc320aa04b81530cc8;p=oweals%2Fluci.git i18n: .xml should not overwrite .lua files if they are older --- diff --git a/build/module.mk b/build/module.mk index 18eda9d8b..8f3964ad6 100644 --- a/build/module.mk +++ b/build/module.mk @@ -16,7 +16,7 @@ compile: clean: luaclean 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 luasource: