make using PRINT_DIR a little easier
authorKevin P. Fleming <kpfleming@digium.com>
Mon, 17 Dec 2007 16:48:01 +0000 (16:48 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Mon, 17 Dec 2007 16:48:01 +0000 (16:48 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93191 65c4cc65-6c06-0410-ace0-fbb531ad65f3

Makefile

index 7147022..824b99b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -298,9 +298,13 @@ ifeq ($(OSARCH),SunOS)
 endif
 
 # comment to print directories during submakes
-PRINT_DIR?= --no-print-directory
+#PRINT_DIR=yes
 
-SUBMAKE=$(MAKE) --quiet $(PRINT_DIR)
+ifneq ($(PRINT_DIR)$(NOISY_BUILD),)
+SUBMAKE=$(MAKE) --quiet
+else
+SUBMAKE=$(MAKE) --quiet --no-print-directory
+endif
 
 # This is used when generating the doxygen documentation
 ifneq ($(DOT),:)