[svn-commits] trunk - r30 /trunk/Makefile
svn-commits at lists.digium.com
svn-commits at lists.digium.com
Thu Dec 1 17:20:51 CST 2005
Author: kpfleming
Date: Thu Dec 1 17:20:51 2005
New Revision: 30
URL: http://svn.digium.com/view/asterisk-sounds?rev=30&view=rev
Log:
Makefile 'update' target now supports updating from Subversion repositories (issue #5875)
Modified:
trunk/Makefile
Modified: trunk/Makefile
URL: http://svn.digium.com/view/asterisk-sounds/trunk/Makefile?rev=30&r1=29&r2=30&view=diff
==============================================================================
--- trunk/Makefile (original)
+++ trunk/Makefile Thu Dec 1 17:20:51 2005
@@ -117,9 +117,12 @@
FORCE:
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 svn-commits
mailing list