mirror of
git://git.savannah.gnu.org/config.git
synced 2025-07-11 05:33:40 +12:00
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:
10
Makefile
10
Makefile
@ -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 $@
|
||||
|
Reference in New Issue
Block a user