Merged revisions 274 via svnmerge from

https://origsvn.digium.com/svn/libpri/branches/1.2

........
r274 | kpfleming | 2005-12-01 17:13:49 -0600 (Thu, 01 Dec 2005) | 2 lines

Makefile 'update' target now supports Subversion repositories (issue #5875)

........


git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@275 2fbb986a-6c06-0410-b554-c9c1f0a7f128
This commit is contained in:
Kevin P. Fleming 2005-12-02 00:57:34 +00:00
parent b1db8aaae6
commit 8738891752

View File

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