]> granicus.if.org Git - ejabberd/commitdiff
Only compile and install p1_prof when: make debugtools=true
authorBadlop <badlop@process-one.net>
Mon, 12 Jul 2010 14:02:41 +0000 (16:02 +0200)
committerBadlop <badlop@process-one.net>
Mon, 12 Jul 2010 14:02:41 +0000 (16:02 +0200)
src/Makefile.in

index 364063764bb166f74787877647a173f9ead21c20..cf600c32497429acd0dd25bdf83dfdb914914247 100644 (file)
@@ -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