Only compile and install p1_prof when: make debugtools=true

This commit is contained in:
Badlop 2010-07-12 16:02:41 +02:00
parent 976baccceb
commit 2e13a56ca9
1 changed files with 2 additions and 3 deletions

View File

@ -35,9 +35,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