summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2009-06-16 20:50:41 +0000
committerKevin P. Fleming <kpfleming@digium.com>2009-06-16 20:50:41 +0000
commitab73c3aabee4863cc65c52da704e49d4da91200d (patch)
tree7d2fbb91235c9dc391c02ba9ac0cca894dff288d /Makefile
parent4a93d3bcb5a24b8478dca20da8f55f6c546cb8b4 (diff)
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
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 0632039bc..dd4ab6089 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)