comparison docs/GNUmakefile @ 3999:36ce2e430bdd

Don't ignore xmllint errors.
author Ruslan Ermilov <ru@nginx.com>
date Tue, 09 Aug 2011 15:18:07 +0000
parents cb90f030acfd
children b427290fb6bc
comparison
equal deleted inserted replaced
3998:131adbb6c82d 3999:36ce2e430bdd
14 14
15 if [ ! -s $(2) ]; then rm $(2); fi; test -s $(2) 15 if [ ! -s $(2) ]; then rm $(2); fi; test -s $(2)
16 endef 16 endef
17 17
18 define XSLT 18 define XSLT
19 xmllint --noout --valid $2; \ 19 xmllint --noout --valid $2
20 xsltproc -o $3 \ 20 xsltproc -o $3 \
21 $(shell echo $4 \\ 21 $(shell echo $4 \\
22 | sed -e "s/\([^= ]*\)=\([^= ]*\)/--param \1 \"'\2'\"/g") \ 22 | sed -e "s/\([^= ]*\)=\([^= ]*\)/--param \1 \"'\2'\"/g") \
23 $1 $2 23 $1 $2
24 endef 24 endef