From 10d43c7cc60e1af6503b9ad68569a847f50df436 Mon Sep 17 00:00:00 2001 From: Badlop Date: Mon, 12 Jul 2010 16:02:41 +0200 Subject: [PATCH] Only compile and install p1_prof when: make debugtools=true --- src/Makefile.in | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Makefile.in b/src/Makefile.in index 364063764..cf600c324 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -37,9 +37,8 @@ ifdef debug EFLAGS+=+debug_info +export_all endif -DEBUGTOOLS = ejabberd_debug.erl -ifdef ejabberd_debug - EFLAGS+=-Dejabberd_debug +DEBUGTOOLS = p1_prof.erl +ifdef debugtools SOURCES+=$(DEBUGTOOLS) endif