From: Kevin P. Fleming Date: Tue, 16 Jun 2009 20:50:41 +0000 (+0000) Subject: When compiling in an Emacs-spawned shell, always print directory names. X-Git-Tag: 11.0.0-beta1~4672 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ab73c3aabee4863cc65c52da704e49d4da91200d;p=thirdparty%2Fasterisk.git When compiling in an Emacs-spawned shell, always print directory names. This change ensures that Emacs can find the proper source files when parsing compiler error messages, since it uses the 'make' output including directory names to do it. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@201135 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/Makefile b/Makefile index 0632039bc2..dd4ab6089c 100644 --- a/Makefile +++ b/Makefile @@ -327,6 +327,10 @@ endif # comment to print directories during submakes #PRINT_DIR=yes +ifneq ($(INSIDE_EMACS),) +PRINT_DIR=yes +endif + SILENTMAKE:=$(MAKE) --quiet --no-print-directory ifneq ($(PRINT_DIR)$(NOISY_BUILD),) SUBMAKE:=$(MAKE)