Mercurial > hg > nginx-site
diff GNUmakefile @ 600:89a4e934d207
Emit a warning with a link to English original if translation is outdated.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Fri, 20 Jul 2012 09:27:55 +0000 |
parents | 19c9bd574db0 |
children | e0544f2c4a70 |
line wrap: on
line diff
--- a/GNUmakefile +++ b/GNUmakefile @@ -23,6 +23,8 @@ endef define XSLT xmllint --noout --valid $2 xsltproc -o $3 \ + $(shell f=`echo $2 | sed 's;^xml/[^/]*/;xml/en/;'`; \ + [ -f $$f ] && echo --stringparam ORIGIN "../$$f") \ $(shell echo $4 \ | sed -e "s/\([^= ]*\)=\([^= ]*\)/--param \1 \"'\2'\"/g") \ $1 $2