summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2011-01-06 17:50:57 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2011-01-06 17:50:57 +0000
commita58b2fb39552923a4944b6ad369bda3703c5a799 (patch)
tree1e3e26edd061667de1394a441987f5f280836b11
parent473e176df894956a51d58bceab10ce00618b297d (diff)
XML validation
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@300841 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r--Makefile4
-rw-r--r--funcs/func_curl.c4
2 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 00c68454c..ab3b5a20b 100644
--- 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 "****"
diff --git a/funcs/func_curl.c b/funcs/func_curl.c
index bc04780c3..3f314fd3f 100644
--- a/funcs/func_curl.c
+++ b/funcs/func_curl.c
@@ -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>