- if test -d .svn ; then \
- svn update ; \
- chmod u+w ${distdir}/ChangeLog || true ; \
- svn2cl -o ${distdir}/ChangeLog ; \
+ if test -d .git ; then \
+ test -z $$USE_GIT || git pull ; \
+ test -f ${distdir}/ChangeLog && chmod u+w ${distdir}/ChangeLog ; \
+ ( git-changelog.perl || echo "git-changelog.perl failed." ) > ${distdir}/ChangeLog 2>&1 ; \