Просмотр исходного кода

svn2cl replaced with tools/gitlog2changelog.py

Markus Neteler 6 лет назад
Родитель
Сommit
b1c3b2228d
2 измененных файлов с 4 добавлено и 9 удалено
  1. 1 2
      doc/howto_release.txt
  2. 3 7
      include/Make/Docs.make

+ 1 - 2
doc/howto_release.txt

@@ -110,8 +110,7 @@ svn ci -m"GRASS GIS $VERSION" include/VERSION
 svn up
 
 # Create Changelog file on release branch:
-# https://arthurdejong.org/svn2cl/
-svn2cl
+python tools/gitlog2changelog.py
 mv ChangeLog ChangeLog_$VERSION
 head ChangeLog_$VERSION
 gzip ChangeLog_$VERSION

+ 3 - 7
include/Make/Docs.make

@@ -91,13 +91,9 @@ html2pdfdoccomplete:
 	$(call html_pdf vector,v.*.html)
 
 changelog:
-	@ echo "creating ChangeLog file (following 'trunk' only)..."
-	@ # svn2cl creates a GNU style ChangeLog file:
-	@ # http://ch.tudelft.nl/~arthur/svn2cl/
-	@if [ ! -x "`which svn2cl`" ] ; then \
-		echo "\"svn2cl\" is required, please install first from http://ch.tudelft.nl/~arthur/svn2cl/" ;	exit 1 ; \
-	fi
-	sh svn2cl ./ChangeLog
+	@ echo "creating ChangeLog file (following 'master' only)..."
+	@ # tools/gitlog2changelog.py creates a GNU style ChangeLog file:
+	python tools/gitlog2changelog.py
 
 .PHONY: htmldocs-single htmldocs packagehtmldocs pdfdocs cleandocs html2pdfdoc
 .PHONY: html2pdfdoccomplete changelog