add 'make update' target

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4579 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2007-03-13 06:44:30 +00:00
parent 6e81dda174
commit 1cf902ea60
2 changed files with 18 additions and 0 deletions

View File

@ -127,6 +127,15 @@ src/include/switch_version.h: $(top_srcdir)/src/include/switch_version.h.in .ver
fi ; \
fi ;
update:
@if test -d .svn ; then \
test ! -f .version || rm -f .version ; \
echo Updating... ; \
svn update ; \
else \
echo "This source directory is not an svn working copy" ; \
fi
.nodepends:
touch .nodepends

View File

@ -1103,6 +1103,15 @@ src/include/switch_version.h: $(top_srcdir)/src/include/switch_version.h.in .ver
fi ; \
fi ;
update:
@if test -d .svn ; then \
test ! -f .version || rm -f .version ; \
echo Updating... ; \
svn update ; \
else \
echo "This source directory is not an svn working copy" ; \
fi
.nodepends:
touch .nodepends