[Asterisk-cvs] libpri Makefile,1.14,1.15

markster at lists.digium.com markster at lists.digium.com
Sat Jan 8 19:13:56 CST 2005


Update of /usr/cvsroot/libpri
In directory mongoose.digium.com:/tmp/cvs-serv9221

Modified Files:
	Makefile 
Log Message:
Fix Makefile for update to be better (bug #3284)


Index: Makefile
===================================================================
RCS file: /usr/cvsroot/libpri/Makefile,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- Makefile	26 Dec 2004 23:10:54 -0000	1.14
+++ Makefile	9 Jan 2005 01:18:22 -0000	1.15
@@ -70,8 +70,12 @@
 all: depend $(STATIC_LIBRARY) $(DYNAMIC_LIBRARY)
 
 update:
-	@echo "Updating from CVS"
-	@cvs update -d
+	@if [ -d CVS ]; then \
+		echo "Updating from CVS..." ; \
+		cvs -q -z3 update -Pd; \
+	else \
+		echo "Not CVS";  \
+	fi
 
 install: $(STATIC_LIBRARY) $(DYNAMIC_LIBRARY)
 	mkdir -p $(INSTALL_PREFIX)/$(INSTALL_BASE)/lib




More information about the svn-commits mailing list