[asterisk-addons-commits] branch 1.2 - r178 /branches/1.2/Makefile

asterisk-addons-commits at lists.digium.com asterisk-addons-commits at lists.digium.com
Thu Dec 1 17:14:29 CST 2005


Author: kpfleming
Date: Thu Dec  1 17:14:28 2005
New Revision: 178

URL: http://svn.digium.com/view/asterisk-addons?rev=178&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/asterisk-addons/branches/1.2/Makefile?rev=178&r1=177&r2=178&view=diff
==============================================================================
--- branches/1.2/Makefile (original)
+++ branches/1.2/Makefile Thu Dec  1 17:14:28 2005
@@ -84,9 +84,12 @@
 	./mkdep $(CFLAGS) `ls *.c`
 
 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



More information about the asterisk-addons-commits mailing list