[zaptel-commits] branch 1.2 - r841 /branches/1.2/Makefile

zaptel-commits at lists.digium.com zaptel-commits at lists.digium.com
Thu Dec 1 17:15:00 CST 2005


Author: kpfleming
Date: Thu Dec  1 17:14:59 2005
New Revision: 841

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

Modified:
    branches/1.2/Makefile

Modified: branches/1.2/Makefile
URL: http://svn.digium.com/view/zaptel/branches/1.2/Makefile?rev=841&r1=840&r2=841&view=diff
==============================================================================
--- branches/1.2/Makefile (original)
+++ branches/1.2/Makefile Thu Dec  1 17:14:59 2005
@@ -394,11 +394,14 @@
 	fi
 
 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
 
 clean:



More information about the zaptel-commits mailing list