aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-01-16 18:06:14 +0000
committerqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-01-16 18:06:14 +0000
commit0313a5412f09ba0074395c1a840e592e82d9f4d9 (patch)
tree4db20c609a70615dcc6ef4fedbe35256c0e2c3ae /Makefile
parent42fd1fbde6abd03170458501d6d52f3966d5e8dd (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--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 19c385e8c..5127e3fd0 100644
--- a/Makefile
+++ b/Makefile
@@ -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:" ; \