Generate ChangeLog from git log

* ChangeLog: Rename to ChangeLog-old.
* Makefile.am (ChangeLog): New rule.
* .gitignore: New file.
* gitlog-to-changelog: Import from gnulib.
This commit is contained in:
Dmitry V. Levin
2020-12-22 08:00:00 +00:00
parent ff53d915ca
commit f0f7283240
4 changed files with 526 additions and 0 deletions

View File

@ -20,3 +20,13 @@ sort:
doc/%.1: % doc/%.x
$(HELP2MAN) --include=doc/$<.x --output=$@ ./$<
gen_changelog_start_date = 2020-12-21 12:21
.PHONY: ChangeLog
ChangeLog:
@rm -f $@.new
{ ./gitlog-to-changelog --append-dot \
--since='$(gen_changelog_start_date)' && \
echo && echo && echo 'See ChangeLog-old for older changes.'; \
} > $@.new
mv -f $@.new $@