Mercurial > hg > nginx-site
comparison 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 |
comparison
equal
deleted
inserted
replaced
599:992a542565b1 | 600:89a4e934d207 |
---|---|
21 endef | 21 endef |
22 | 22 |
23 define XSLT | 23 define XSLT |
24 xmllint --noout --valid $2 | 24 xmllint --noout --valid $2 |
25 xsltproc -o $3 \ | 25 xsltproc -o $3 \ |
26 $(shell f=`echo $2 | sed 's;^xml/[^/]*/;xml/en/;'`; \ | |
27 [ -f $$f ] && echo --stringparam ORIGIN "../$$f") \ | |
26 $(shell echo $4 \ | 28 $(shell echo $4 \ |
27 | sed -e "s/\([^= ]*\)=\([^= ]*\)/--param \1 \"'\2'\"/g") \ | 29 | sed -e "s/\([^= ]*\)=\([^= ]*\)/--param \1 \"'\2'\"/g") \ |
28 $1 $2 | 30 $1 $2 |
29 endef | 31 endef |
30 | 32 |