summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorSean Bright <sean@malleable.com>2014-03-21 15:50:11 +0000
committerSean Bright <sean@malleable.com>2014-03-21 15:50:11 +0000
commitb44d324891b5d7a823b537777ca4fb00230e44dc (patch)
tree331f3cfadf278a6c49f777958ac8949eba6299d1 /utils
parent14942ecb171444838f952674af11850556437c90 (diff)
Make the AEL load process less chatty.
Switched a bunch of LOG_NOTICEs to ast_debug. This time without breaking the build. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@410994 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'utils')
-rw-r--r--utils/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/utils/Makefile b/utils/Makefile
index 11905fb5c..f0f2a5d78 100644
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -142,10 +142,16 @@ aelbison.o: _ASTCFLAGS+=-I$(ASTTOPDIR)/res/ael -DYYENABLE_NLS=0
pbx_ael.c: $(ASTTOPDIR)/pbx/pbx_ael.c
$(ECHO_PREFIX) echo " [CP] $(subst $(ASTTOPDIR)/,,$<) -> $@"
$(CMD_PREFIX) cp "$<" "$@"
+ $(ECHO_PREFIX) echo " [SED] $@"
+ $(CMD_PREFIX) sed 's/ast_debug([[:digit:]][[:digit:]]*/ast_log(LOG_DEBUG/' "$@" > "$@.new"
+ $(CMD_PREFIX) mv "$@.new" "$@"
aelparse.c: $(ASTTOPDIR)/res/ael/ael_lex.c
$(ECHO_PREFIX) echo " [CP] $(subst $(ASTTOPDIR)/,,$<) -> $@"
$(CMD_PREFIX) cp "$<" "$@"
+ $(ECHO_PREFIX) echo " [SED] $@"
+ $(CMD_PREFIX) sed 's/ast_debug([[:digit:]][[:digit:]]*/ast_log(LOG_DEBUG/' "$@" > "$@.new"
+ $(CMD_PREFIX) mv "$@.new" "$@"
aelparse.o: _ASTCFLAGS+=-I$(ASTTOPDIR)/res -Wno-unused
aelparse: LIBS+=-lm