[asterisk-addons-commits] trunk r255 - /trunk/Makefile

asterisk-addons-commits at lists.digium.com asterisk-addons-commits at lists.digium.com
Sun Jul 2 22:39:05 MST 2006


Author: russell
Date: Mon Jul  3 00:39:04 2006
New Revision: 255

URL: http://svn.digium.com/view/asterisk-addons?rev=255&view=rev
Log:
install format_mp3 and chan_ooh323 on "make install" if they are selected

Modified:
    trunk/Makefile

Modified: trunk/Makefile
URL: http://svn.digium.com/view/asterisk-addons/trunk/Makefile?rev=255&r1=254&r2=255&view=diff
==============================================================================
--- trunk/Makefile (original)
+++ trunk/Makefile Mon Jul  3 00:39:04 2006
@@ -81,7 +81,13 @@
 	@exit 1
 
 install: all
-	for x in $(SELECTED_MODS); do $(INSTALL) -m 755 $$x $(DESTDIR)$(MODULES_DIR) ; done
+	for x in $(filter-out format_mp3.so chan_ooh323.so,$(SELECTED_MODS)); do $(INSTALL) -m 755 $$x $(DESTDIR)$(MODULES_DIR) ; done
+	@if test "x$(findstring format_mp3.so,$(SELECTED_MODS))" != "x" ; then \
+		$(MAKE) -C format_mp3 install ; \
+	fi
+	@if test "x$(findstring chan_ooh323.so,$(SELECTED_MODS))" != "x" ; then \
+		$(MAKE) -C asterisk-ooh323c install ; \
+	fi
 	@echo " +---- Asterisk-Addons Installation Complete ----+"
 	@echo " +                                               +"
 	@echo " +    Addons has successfully been installed.    +"



More information about the asterisk-addons-commits mailing list