[Asterisk-cvs] asterisk Makefile,1.104,1.105

markster at lists.digium.com markster at lists.digium.com
Fri Aug 6 21:40:10 CDT 2004


Update of /usr/cvsroot/asterisk
In directory localhost.localdomain:/tmp/cvs-serv28224

Modified Files:
	Makefile 
Log Message:
Add mpg123 target


Index: Makefile
===================================================================
RCS file: /usr/cvsroot/asterisk/Makefile,v
retrieving revision 1.104
retrieving revision 1.105
diff -u -d -r1.104 -r1.105
--- Makefile	1 Aug 2004 18:48:37 -0000	1.104
+++ Makefile	7 Aug 2004 01:26:09 -0000	1.105
@@ -386,6 +386,7 @@
 	fi 
 	( cd $(DESTDIR)$(ASTVARLIBDIR)/sounds  ; ln -s $(ASTSPOOLDIR)/vm . )
 	( cd $(DESTDIR)$(ASTVARLIBDIR)/sounds  ; ln -s $(ASTSPOOLDIR)/voicemail . )
+	if [ -d mpg123-0.59r ]; then make -C mpg123-0.59r install; fi
 	@echo " +---- Asterisk Installation Complete -------+"  
 	@echo " +                                           +"
 	@echo " +    YOU MUST READ THE SECURITY DOCUMENT    +"
@@ -494,6 +495,13 @@
 progdocs:
 	doxygen contrib/asterisk-ng-doxygen
 
+mpg123:
+	@wget -V >/dev/null || (echo "You need wget" ; false )
+	[ -f mpg123-0.59r.tar.gz ] || wget http://www.mpg123.de/mpg123/mpg123-0.59r.tar.gz
+	[ -d mpg123-0.59r ] || tar xfz mpg123-0.59r.tar.gz
+	make -C mpg123-0.59r linux
+	
+
 config:
 	if [ -d /etc/rc.d/init.d ]; then \
 		install -m 755 contrib/init.d/rc.redhat.asterisk /etc/rc.d/init.d/asterisk; \




More information about the svn-commits mailing list