[asterisk-commits] kpfleming: branch 1.4 r130317 - /branches/1.4/Makefile

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Jul 11 17:23:29 CDT 2008


Author: kpfleming
Date: Fri Jul 11 17:23:29 2008
New Revision: 130317

URL: http://svn.digium.com/view/asterisk?view=rev&rev=130317
Log:
forcibly remove the modules that are changing names

Modified:
    branches/1.4/Makefile

Modified: branches/1.4/Makefile
URL: http://svn.digium.com/view/asterisk/branches/1.4/Makefile?view=diff&rev=130317&r1=130316&r2=130317
==============================================================================
--- branches/1.4/Makefile (original)
+++ branches/1.4/Makefile Fri Jul 11 17:23:29 2008
@@ -480,9 +480,11 @@
 	@DESTDIR="$(DESTDIR)" ASTSBINDIR="$(ASTSBINDIR)" $(MAKE) -C $(@:-install=) install
 
 NEWMODS=$(notdir $(wildcard */*.so))
-OLDMODS=$(filter-out $(NEWMODS),$(notdir $(wildcard $(DESTDIR)$(MODULES_DIR)/*.so)))
+DEPMODS=chan_zap.so app_zapras.so app_zapscan.so app_zapbarge.so codec_zap.so
+OLDMODS=$(filter-out $(NEWMODS) $(DEPMODS),$(notdir $(wildcard $(DESTDIR)$(MODULES_DIR)/*.so)))
 
 oldmodcheck:
+	@for f in $(DEPMODS); do rm -f $(DESTDIR)$(MODULES_DIR)/$$f; done
 	@if [ -n "$(OLDMODS)" ]; then \
 		echo " WARNING WARNING WARNING" ;\
 		echo "" ;\




More information about the asterisk-commits mailing list