From a58b2fb39552923a4944b6ad369bda3703c5a799 Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Thu, 6 Jan 2011 17:50:57 +0000 Subject: [PATCH] XML validation git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@300841 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- Makefile | 4 +++- funcs/func_curl.c | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 00c68454c7..ab3b5a20b5 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 bc04780c35..3f314fd3fd 100644 --- a/funcs/func_curl.c +++ b/funcs/func_curl.c @@ -71,7 +71,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") - Sets various options for future invocations of CURL. + Sets various options for future invocations of CURL. @@ -146,7 +146,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") - Also translate + to the + Also translate + to the space character, in violation of current RFC standards.