# HG changeset patch # User fabien # Date 1138312275 18000 # Node ID a073c44493841fca9fd596e9a833b37aaff64e03 # Parent d4e369cbbd2490015b9975e6264bdcfe3f062807 [svn] r2239@freebird: fabien | 2006-01-25 00:08:27 -0500 Add good validate target. diff -r d4e369cbbd24 -r a073c4449384 Makefile --- 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= \