From 50e2d23352d2bb1214d5185fefecb04c23626d4f Mon Sep 17 00:00:00 2001 From: "Kevin P. Fleming" Date: Thu, 1 Dec 2005 23:13:49 +0000 Subject: [PATCH] Makefile 'update' target now supports Subversion repositories (issue #5875) git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.2@274 2fbb986a-6c06-0410-b554-c9c1f0a7f128 --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index e9481cb..ab4f203 100644 --- a/Makefile +++ b/Makefile @@ -70,11 +70,14 @@ endif 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)