[svn] r2239@freebird: fabien | 2006-01-25 00:08:27 -0500
Add good validate target.
--- a/Makefile Thu Jan 26 16:51:10 2006 -0500
+++ b/Makefile Thu Jan 26 16:51:15 2006 -0500
@@ -11,7 +11,9 @@
TARGETS=jeuderologie rpgtheory $(FR_ARTICLES) $(EN_ARTICLES) $(UNPUBLISHED)
HTML_FILES=index.en.html index.fr.html
SGML_CATALOG_FILES=/etc/sgml/catalog
-xml_validate=xmllint --xinclude --postvalid --noout $(1)
+xml_validate=xmllint --xinclude $(1) | \
+ sed -e 's/\(xmlns:xi\|xml:base\)="[^"]*"//g' | \
+ xmllint --valid --noout - 2>&1 | sed 's/^-:/$(1):/'
html_validate=true
make_subdir= \