From a265216d79af8554d8c86ce3079ce108a8c4b408 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Mon, 28 Jun 2010 15:58:48 +0000 Subject: [PATCH] Backport method of setting SUBMAKE from trunk. By setting the PRINT_DIR variable, SUBMAKE will print out the directories it descends into, which is important for editors (like vim) that watch the build output so that they can take you to the file where an error occurred. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@272688 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6a6eae5d78..28e9e51cfd 100644 --- a/Makefile +++ b/Makefile @@ -293,7 +293,11 @@ ifeq ($(OSARCH),SunOS) SOLINK=-shared -fpic -L/usr/local/ssl/lib -lrt endif -SUBMAKE=$(MAKE) --quiet --no-print-directory +ifneq ($(PRINT_DIR)$(NOISY_BUILD),) +SUBMAKE:=$(MAKE) +else +SUBMAKE:=$(MAKE) --quiet --no-print-directory +endif # This is used when generating the doxygen documentation ifneq ($(DOT),:) -- 2.47.3