aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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>