changeset 124:73df20b5963c

xmllint is now always run.
author Ruslan Ermilov <ru@nginx.com>
date Fri, 21 Oct 2011 06:18:04 +0000
parents 7db449e89e92
children c7d2ce96298b
files GNUmakefile
diffstat 1 files changed, 1 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/GNUmakefile	Fri Oct 21 06:17:16 2011 +0000
+++ b/GNUmakefile	Fri Oct 21 06:18:04 2011 +0000
@@ -19,11 +19,8 @@
 	if [ ! -s $(2) ]; then rm $(2); fi; test -s $(2)
 endef
 
-define	XMLLINT
-	xmllint --noout --valid $1
-endef
-
 define	XSLT
+	xmllint --noout --valid $2
 	xsltproc -o $3							\
 		$(shell echo $4						\
 		| sed -e "s/\([^= ]*\)=\([^= ]*\)/--param \1 \"'\2'\"/g") \
@@ -148,7 +145,6 @@
 
 $(OUT)/%.html:	xml/%.xml						\
 		$(ARTICLE_DEPS)
-	$(call XMLLINT, $<)
 	$(call XSLT, xslt/article.xslt, $<, $@)