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
This commit is contained in:
Mark Spencer 2005-01-09 01:18:22 +00:00
parent 073bd4fa70
commit 1630193827

View File

@ -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