aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2009-06-16 20:50:41 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2009-06-16 20:50:41 +0000
commit14da66c6a0f905961c92d9eeb37a991f76ce0c0f (patch)
tree7d2fbb91235c9dc391c02ba9ac0cca894dff288d /Makefile
parent80fe63ec2a94ae9d87beb4065036db1e19d2c6e5 (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: http://svn.digium.com/svn/asterisk/trunk@201135 f38db490-d61c-443f-a65b-d21fe96a405b
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)