[svn r1981] r2274@freebird: fabien | 2006-02-01 09:50:53 -0500
Fait de la target un postvalid pour inclure les sous-documents.
--- a/Makefile Fri Feb 03 16:28:12 2006 -0500
+++ b/Makefile Fri Feb 03 16:28:38 2006 -0500
@@ -45,7 +45,8 @@
DTD=$(addprefix $(DTD_DIR)/,poetry.dtd)
SGML_CATALOG_FILES=$(TOP)/catalog
export SGML_CATALOG_FILES
-xml_validate=xmllint --catalogs --xinclude --valid --noout $(1)
+xml_validate=xmllint --catalogs --valid --noout $(1)
+xml_post_validate=xmllint --catalogs --xinclude --postvalid --noout $(1)
html_validate=xmllint --xinclude --valid --noout $(1)
#REMOTE_DIR=o:public_html/poesie
@@ -67,8 +68,8 @@
[ -d $(INSTALL_DIR) ] || mkdir -p $(INSTALL_DIR)
cp -a $(OUTPUT)* $(INSTALL_DIR)
-validate: $(SRCS) $(addsuffix -validate,$(SRC_DEPS))
- $(call xml_validate,$<)
+validate: $(addsuffix -validate,$(SRC_DEPS) $(SRCS))
+ $(call xml_post_validate,$(SRCS))
%-validate: %
$(call xml_validate,$<)