summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-12-14 17:47:08 +0000
committerSteven Barth <steven@midlink.org>2008-12-14 17:47:08 +0000
commitc7852861cf3b883dc3a237dc320aa04b81530cc8 (patch)
tree053b5bea22c7755a0086d09e27108cbdaeaec547 /build
parente1224f7bd0ee643fa1a7471c3eacf1ba7a7c1504 (diff)
i18n: .xml should not overwrite .lua files if they are older
Diffstat (limited to 'build')
-rw-r--r--build/module.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/module.mk b/build/module.mk
index 18eda9d8b9..8f3964ad6f 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: