aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Crozat <fcrozat@mandriva.com>2010-03-18 16:59:52 +0000
committerFrederic Crozat <fcrozat@mandriva.com>2010-03-18 16:59:52 +0000
commit462cc0e4e1396ea7d1f5eeaab35bd2ae3914284f (patch)
tree1424c5be112c3e060a7b5c356017288098210340
parent9419889adb5689b5f51f1454e0bb628a67a9d2a6 (diff)
downloadcommon-data-462cc0e4e1396ea7d1f5eeaab35bd2ae3914284f.tar
common-data-462cc0e4e1396ea7d1f5eeaab35bd2ae3914284f.tar.gz
common-data-462cc0e4e1396ea7d1f5eeaab35bd2ae3914284f.tar.bz2
common-data-462cc0e4e1396ea7d1f5eeaab35bd2ae3914284f.tar.xz
common-data-462cc0e4e1396ea7d1f5eeaab35bd2ae3914284f.zip
dcommit after changelog generation
-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 >> $@)); \