[asterisk-commits] russell: branch 1.4 r272688 - /branches/1.4/Makefile

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Jun 28 10:58:52 CDT 2010


Author: russell
Date: Mon Jun 28 10:58:48 2010
New Revision: 272688

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=272688
Log:
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.

Modified:
    branches/1.4/Makefile

Modified: branches/1.4/Makefile
URL: http://svnview.digium.com/svn/asterisk/branches/1.4/Makefile?view=diff&rev=272688&r1=272687&r2=272688
==============================================================================
--- branches/1.4/Makefile (original)
+++ branches/1.4/Makefile Mon Jun 28 10:58:48 2010
@@ -293,7 +293,11 @@
   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),:)




More information about the asterisk-commits mailing list