From 163019382750dab5640c90a1dc11c43bb2bf5070 Mon Sep 17 00:00:00 2001 From: Mark Spencer Date: Sun, 9 Jan 2005 01:18:22 +0000 Subject: [PATCH] Fix Makefile for update to be better (bug #3284) git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@176 2fbb986a-6c06-0410-b554-c9c1f0a7f128 --- Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 83094b8..fb27de9 100755 --- a/Makefile +++ b/Makefile @@ -70,8 +70,12 @@ endif all: depend $(STATIC_LIBRARY) $(DYNAMIC_LIBRARY) update: - @echo "Updating from CVS" - @cvs update -d + @if [ -d CVS ]; then \ + echo "Updating from CVS..." ; \ + cvs -q -z3 update -Pd; \ + else \ + echo "Not CVS"; \ + fi install: $(STATIC_LIBRARY) $(DYNAMIC_LIBRARY) mkdir -p $(INSTALL_PREFIX)/$(INSTALL_BASE)/lib