[svn] r2249@freebird: fabien | 2006-01-26 16:34:55 -0500
New validation rule with a modified xmllint.
--- 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)