[libpri-commits] branch 1.2 - r274 /branches/1.2/Makefile

libpri-commits at lists.digium.com libpri-commits at lists.digium.com
Thu Dec 1 17:13:49 CST 2005


Author: kpfleming
Date: Thu Dec  1 17:13:49 2005
New Revision: 274

URL: http://svn.digium.com/view/libpri?rev=274&view=rev
Log:
Makefile 'update' target now supports Subversion repositories (issue #5875)

Modified:
    branches/1.2/Makefile

Modified: branches/1.2/Makefile
URL: http://svn.digium.com/view/libpri/branches/1.2/Makefile?rev=274&r1=273&r2=274&view=diff
==============================================================================
--- branches/1.2/Makefile (original)
+++ branches/1.2/Makefile Thu Dec  1 17:13:49 2005
@@ -70,11 +70,14 @@
 all: depend $(STATIC_LIBRARY) $(DYNAMIC_LIBRARY)
 
 update:
-	@if [ -d CVS ]; then \
+	@if [ -d .svn ]; then \
+		echo "Updating from Subversion..." ; \
+		svn update -q; \
+	elif [ -d CVS ]; then \
 		echo "Updating from CVS..." ; \
 		cvs -q -z3 update -Pd; \
 	else \
-		echo "Not CVS";  \
+		echo "Not under version control";  \
 	fi
 
 install: $(STATIC_LIBRARY) $(DYNAMIC_LIBRARY)



More information about the libpri-commits mailing list