# HG changeset patch # User fabien # Date 1138127024 18000 # Node ID 9b9ab4d82243f1e262d99ea78b426be55b5f5cd5 # Parent b33e0bb8c644b41ad30d0668831344e296371388 [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. diff -r b33e0bb8c644 -r 9b9ab4d82243 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