diff options
author | Steven Barth <steven@midlink.org> | 2008-12-14 11:54:36 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-12-14 11:54:36 +0000 |
commit | 082e30b1c4a1d3a90b0bb8317319e72b8b010a68 (patch) | |
tree | bcc47320786683d46c9918133eba10b9840832ec /build | |
parent | 239836b3bef9abc35a66b489881438b775231b1c (diff) |
i18n: .xml should not overwrite .lua files if they are older
Diffstat (limited to 'build')
-rw-r--r-- | build/module.mk | 2 |
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: |