We need to pass the DTD to xmlstarlet to validate against it the XML.
[asterisk/asterisk.git] / Makefile
index 98fc69a..f9b3ded 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -504,7 +504,7 @@ ifeq ($(XMLSTARLET),:)
        @echo "--- Please install xmlstarlet to validate the documentation ---"
        @echo "---------------------------------------------------------------"
 else
-       $(XMLSTARLET) val $<
+       $(XMLSTARLET) val -d doc/appdocsxml.dtd $<
 endif
 
 update: