From b0c9dc0ba2b17eaa5ab5206aab21c65442f52909 Mon Sep 17 00:00:00 2001 From: russell Date: Mon, 28 Jun 2010 15:58:48 +0000 Subject: 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: http://svn.digium.com/svn/asterisk/branches/1.4@272688 f38db490-d61c-443f-a65b-d21fe96a405b --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6a6eae5d7..28e9e51cf 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),:) -- cgit v1.2.3