[svn] r2249@freebird: fabien | 2006-01-26 16:34:55 -0500 cda
authorfabien
Thu, 26 Jan 2006 16:51:38 -0500
branchcda
changeset 5 8f149c3924cf
parent 4 99d0c02f5ee4
child 6 70f9aa9d00c6
[svn] r2249@freebird: fabien | 2006-01-26 16:34:55 -0500 New validation rule with a modified xmllint.
Makefile
--- a/Makefile	Thu Jan 26 16:51:15 2006 -0500
+++ b/Makefile	Thu Jan 26 16:51:38 2006 -0500
@@ -14,9 +14,7 @@
 OUTPUT=$(foreach target,$(basename $(SRCS)),$(call output,$(target))) \
 	$(PDF_OUTPUT)
 UPLOAD=$(OUTPUT) cda-perso.sxw cda-perso-alt.sxw presentation.sxi index.fr.html blason.png
-xml_validate=xmllint --xinclude $(1) |			\
-	sed -e 's/\(xmlns:xi\|xml:base\)="[^"]*"//g' |	\
-	xmllint --valid --noout - 2>&1 | sed 's/^-:/$(1):/'
+xml_validate=xmllint --xinclude --postvalid --noout $(1)
 html_validate=true
 
 all: $(basename $(SRCS)) $(PDF_OUTPUT)