XML validation
authorTilghman Lesher <tilghman@meg.abyt.es>
Thu, 6 Jan 2011 17:50:57 +0000 (17:50 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Thu, 6 Jan 2011 17:50:57 +0000 (17:50 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@300841 65c4cc65-6c06-0410-ace0-fbb531ad65f3

Makefile
funcs/func_curl.c

index 00c6845..ab3b5a2 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -205,6 +205,7 @@ ifeq ($(findstring -Wall,$(_ASTCFLAGS) $(ASTCFLAGS)),)
 endif
 
 _ASTCFLAGS+=-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations $(DEBUG)
+ADDL_TARGETS=
 
 ifeq ($(AST_DEVMODE),yes)
   _ASTCFLAGS+=-Werror
@@ -214,6 +215,7 @@ ifeq ($(AST_DEVMODE),yes)
   _ASTCFLAGS+=-Wundef 
   _ASTCFLAGS+=-Wmissing-format-attribute
   _ASTCFLAGS+=-Wformat=2
+  ADDL_TARGETS+=validate-docs
 endif
 
 ifneq ($(findstring BSD,$(OSARCH)),)
@@ -336,7 +338,7 @@ all: _all
        @echo " +               $(mK) install               +"  
        @echo " +-------------------------------------------+"  
 
-_all: cleantest makeopts $(SUBDIRS) doc/core-en_US.xml
+_all: cleantest makeopts $(SUBDIRS) doc/core-en_US.xml $(ADDL_TARGETS)
 
 makeopts: configure
        @echo "****"
index bc04780..3f314fd 100644 (file)
@@ -71,7 +71,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
        </function>
        <function name="CURLOPT" language="en_US">
                <synopsis>
-                       Sets various options for future invocations of <literal>CURL</literal>.
+                       Sets various options for future invocations of CURL.
                </synopsis>
                <syntax>
                        <parameter name="key" required="yes">
@@ -146,7 +146,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
                                                        <enum name="yes" />
                                                        <enum name="no" />
                                                        <enum name="legacy">
-                                                               <para>Also translate <literal>+<literal> to the
+                                                               <para>Also translate <literal>+</literal> to the
                                                                space character, in violation of current RFC
                                                                standards.</para>
                                                        </enum>