Only compile and install p1_prof when: make debugtools=true
This commit is contained in:
parent
976baccceb
commit
2e13a56ca9
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue