aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 3355f0f..e3b5f07 100644
--- a/Makefile
+++ b/Makefile
@@ -83,6 +83,9 @@ ChangeLog: ../common/username.xml
@if test -d "$$PWD/.git"; then \
../common/gitlog-to-changelog | sed -e '/\tgit-svn-id:.*/d' > $@.tmp \
&& mv -f $@.tmp $@ \
+ && if [ -e ".git/svn" ]; then \
+ git svn dcommit ; \
+ fi ;\
|| (rm -f $@.tmp; \
echo Failed to generate ChangeLog, your ChangeLog may be outdated >&2; \
(test -f $@ || echo git-log is required to generate this file >> $@)); \