From: Russell Bryant Date: Mon, 28 Jun 2010 15:58:48 +0000 (+0000) Subject: Backport method of setting SUBMAKE from trunk. X-Git-Tag: 1.4.34-rc1~2^2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a265216d79af8554d8c86ce3079ce108a8c4b408;p=thirdparty%2Fasterisk.git 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 --- 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),:)