diff options
author | qwell <qwell@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2008-01-16 18:06:32 +0000 |
---|---|---|
committer | qwell <qwell@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2008-01-16 18:06:32 +0000 |
commit | 571fa359a565f6859cdbc882a388f334d184c1ea (patch) | |
tree | de5c653f88833afc72ae76ba379eaa25e97d34a7 /Makefile | |
parent | df0329f8a9da04c5fd9e1cbe803f4fbf1fbabd87 (diff) |
Add logging for 'make update' command (also fixes updates in some places). Issue #11766, initial patch by jmls.svn_trunk
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@3700 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -474,7 +474,10 @@ config: 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:" ; \ |