mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-19 19:52:48 +00:00
make the install target a bit less noisy
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@92063 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
2
Makefile
2
Makefile
@@ -504,7 +504,7 @@ bininstall: _all
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
$(SUBDIRS_INSTALL):
|
$(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))
|
NEWMODS=$(notdir $(wildcard */*.so))
|
||||||
OLDMODS=$(filter-out $(NEWMODS),$(notdir $(wildcard $(DESTDIR)$(MODULES_DIR)/*.so)))
|
OLDMODS=$(filter-out $(NEWMODS),$(notdir $(wildcard $(DESTDIR)$(MODULES_DIR)/*.so)))
|
||||||
|
@@ -34,8 +34,6 @@ endif
|
|||||||
|
|
||||||
include $(ASTTOPDIR)/Makefile.rules
|
include $(ASTTOPDIR)/Makefile.rules
|
||||||
|
|
||||||
#comma:=, # not used
|
|
||||||
|
|
||||||
# Both C++ and C++ sources need their module name in AST_MODULE
|
# Both C++ and C++ sources need their module name in AST_MODULE
|
||||||
# We also pass whatever _INCLUDE list is generated by menuselect
|
# We also pass whatever _INCLUDE list is generated by menuselect
|
||||||
# (they are stored in file 'makeopts')
|
# (they are stored in file 'makeopts')
|
||||||
@@ -99,7 +97,8 @@ clean::
|
|||||||
rm -f modules.link
|
rm -f modules.link
|
||||||
|
|
||||||
install:: all
|
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::
|
uninstall::
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user