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

This commit is contained in:
Steven Barth 2008-12-14 17:47:08 +00:00
parent e1224f7bd0
commit c7852861cf

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: