[svn] r2222@freebird: fabien | 2006-01-24 02:28:37 -0500 cthulhu_19e
authorfabien
Tue, 24 Jan 2006 13:23:44 -0500
branchcthulhu_19e
changeset 1 9b9ab4d82243
parent 0 b33e0bb8c644
child 2 585ff7c47904
[svn] r2222@freebird: fabien | 2006-01-24 02:28:37 -0500 Add validate target. No depends on install however, since xmllint doesn't handle xml:tag and xmlns:ns correctly.
Makefile
--- a/Makefile	Mon Jan 23 13:07:49 2006 -0500
+++ b/Makefile	Tue Jan 24 13:23:44 2006 -0500
@@ -13,6 +13,11 @@
 
 all: $(basename $(SRCS))
 
+validate: $(addsuffix -validate,$(SRCS))
+
+$(addsuffix -validate,$(SRCS)):
+	xmllint --xinclude --postvalid --noout $(subst -validate,,$@)
+
 cthulhu_19e: $(call targets,cthulhu_19e)
 
 # title.xsl: title.xml