[asterisk-commits] rizzo: trunk r92063 - in /trunk: Makefile Makefile.moddir_rules

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sun Dec 9 20:06:40 CST 2007


Author: rizzo
Date: Sun Dec  9 20:06:40 2007
New Revision: 92063

URL: http://svn.digium.com/view/asterisk?view=rev&rev=92063
Log:
make the install target a bit less noisy


Modified:
    trunk/Makefile
    trunk/Makefile.moddir_rules

Modified: trunk/Makefile
URL: http://svn.digium.com/view/asterisk/trunk/Makefile?view=diff&rev=92063&r1=92062&r2=92063
==============================================================================
--- trunk/Makefile (original)
+++ trunk/Makefile Sun Dec  9 20:06:40 2007
@@ -504,7 +504,7 @@
 	fi
 
 $(SUBDIRS_INSTALL):
-	@DESTDIR="$(DESTDIR)" ASTSBINDIR="$(ASTSBINDIR)" $(MAKE) -C $(@:-install=) install
+	@DESTDIR="$(DESTDIR)" ASTSBINDIR="$(ASTSBINDIR)" $(MAKE) --quiet $(PRINT_DIR) -C $(@:-install=) install
 
 NEWMODS=$(notdir $(wildcard */*.so))
 OLDMODS=$(filter-out $(NEWMODS),$(notdir $(wildcard $(DESTDIR)$(MODULES_DIR)/*.so)))

Modified: trunk/Makefile.moddir_rules
URL: http://svn.digium.com/view/asterisk/trunk/Makefile.moddir_rules?view=diff&rev=92063&r1=92062&r2=92063
==============================================================================
--- trunk/Makefile.moddir_rules (original)
+++ trunk/Makefile.moddir_rules Sun Dec  9 20:06:40 2007
@@ -33,8 +33,6 @@
 endif
 
 include $(ASTTOPDIR)/Makefile.rules
-
-#comma:=,	# not used
 
 # Both C++ and C++ sources need their module name in AST_MODULE
 # We also pass whatever _INCLUDE list is generated by menuselect
@@ -99,7 +97,8 @@
 	rm -f modules.link
 
 install:: all
-	for x in $(LOADABLE_MODS:%=%.so); do $(INSTALL) -m 755 $$x $(DESTDIR)$(MODULES_DIR) ; done
+	@echo "Installing modules from `basename $(CURDIR)`..."
+	@for x in $(LOADABLE_MODS:%=%.so); do $(INSTALL) -m 755 $$x $(DESTDIR)$(MODULES_DIR) ; done
 
 uninstall::
 




More information about the asterisk-commits mailing list