projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1224f7
)
i18n: .xml should not overwrite .lua files if they are older
author
Steven Barth
<steven@midlink.org>
Sun, 14 Dec 2008 17:47:08 +0000
(17:47 +0000)
committer
Steven Barth
<steven@midlink.org>
Sun, 14 Dec 2008 17:47:08 +0000
(17:47 +0000)
build/module.mk
patch
|
blob
|
history
diff --git
a/build/module.mk
b/build/module.mk
index 18eda9d8b92046ee973f4a97a71c8ef2c0d052f2..8f3964ad6fe2387d5a3995a5a7c743680b05c82f 100644
(file)
--- 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: