diff options
author | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-01-16 18:06:14 +0000 |
---|---|---|
committer | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-01-16 18:06:14 +0000 |
commit | 0313a5412f09ba0074395c1a840e592e82d9f4d9 (patch) | |
tree | 4db20c609a70615dcc6ef4fedbe35256c0e2c3ae /Makefile | |
parent | 42fd1fbde6abd03170458501d6d52f3966d5e8dd (diff) |
Add logging for 'make update' command (also fixes updates in some places). Issue #11766, initial patch by jmls.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@98968 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -474,7 +474,10 @@ datafiles: _all update: @if [ -d .svn ]; then \ echo "Updating from Subversion..." ; \ + fromrev="`svn info | $(AWK) '/Revision: / {print $$2}'`"; \ svn update | tee update.out; \ + torev="`svn info | $(AWK) '/Revision: / {print $$2}'`"; \ + echo "`date` Updated from revision $${fromrev} to $${torev}." >> update.log; \ rm -f .version; \ if [ `grep -c ^C update.out` -gt 0 ]; then \ echo ; echo "The following files have conflicts:" ; \ |