From 1e1a9e30d8358f2ad8e2bc8c92bd314717190da8 Mon Sep 17 00:00:00 2001 From: Luigi Rizzo <rizzo@icir.org> Date: Mon, 10 Dec 2007 02:06:40 +0000 Subject: [PATCH] make the install target a bit less noisy git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@92063 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- Makefile | 2 +- Makefile.moddir_rules | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 83e02460f2..ed1e2382a3 100644 --- a/Makefile +++ b/Makefile @@ -504,7 +504,7 @@ bininstall: _all 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))) diff --git a/Makefile.moddir_rules b/Makefile.moddir_rules index 4343599a4f..8db597cb41 100644 --- a/Makefile.moddir_rules +++ b/Makefile.moddir_rules @@ -34,8 +34,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 # (they are stored in file 'makeopts') @@ -99,7 +97,8 @@ clean:: 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:: -- GitLab