diff --git a/Makefile.am b/Makefile.am index 6414f4416a..aafd8180f7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 diff --git a/Makefile.in b/Makefile.in index 8a79a3b729..730f76f4d1 100644 --- a/Makefile.in +++ b/Makefile.in @@ -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