[Asterisk-cvs] asterisk/astman Makefile,1.9,1.10

markster at lists.digium.com markster at lists.digium.com
Sat Jun 26 15:39:46 CDT 2004


Update of /usr/cvsroot/asterisk/astman
In directory mongoose.digium.com:/tmp/cvs-serv19211/astman

Modified Files:
	Makefile 
Log Message:
Fix astman build (bug #1930)


Index: Makefile
===================================================================
RCS file: /usr/cvsroot/asterisk/astman/Makefile,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- Makefile	22 Jun 2004 17:42:13 -0000	1.9
+++ Makefile	26 Jun 2004 19:25:39 -0000	1.10
@@ -8,8 +8,7 @@
 CFLAGS+=-I/usr/local/include -L/usr/local/lib
 endif
 
-TARGET=$(shell if [ -f /usr/include/newt.h ]; then echo "astman"; else echo "none" ; fi)
-TARGET=$(shell if [ -f /usr/local/include/newt.h ]; then echo "astman"; else echo "none" ; fi)
+TARGET=$(shell if [ -f /usr/include/newt.h ]; then echo "astman"; else if [ -f /usr/local/include/newt.h ]; then echo "astman"; else echo "none" ; fi ; fi)
 all: depend $(TARGET)
 
 install:




More information about the svn-commits mailing list