i18n: .xml should not overwrite .lua files if they are older

This commit is contained in:
Steven Barth 2008-12-14 11:54:36 +00:00
parent 239836b3be
commit 082e30b1c4

View file

@ -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: