26
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-30 17:43:57 +01:00

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 d539fd28c1
commit 10d43c7cc6

View File

@ -37,9 +37,8 @@ ifdef debug
EFLAGS+=+debug_info +export_all EFLAGS+=+debug_info +export_all
endif endif
DEBUGTOOLS = ejabberd_debug.erl DEBUGTOOLS = p1_prof.erl
ifdef ejabberd_debug ifdef debugtools
EFLAGS+=-Dejabberd_debug
SOURCES+=$(DEBUGTOOLS) SOURCES+=$(DEBUGTOOLS)
endif endif