mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-29 19:30:36 +02:00
generate changelogs at dist time
* Makefile.am: Add rule to make a ChangeLog at dist-time. The rule comes from coreutils. * build-aux/gitlog-to-changelog: New helper script, from gnulib.
This commit is contained in:
parent
ce471ab8b0
commit
5b55e29320
2 changed files with 195 additions and 0 deletions
12
Makefile.am
12
Makefile.am
|
@ -40,4 +40,16 @@ ACLOCAL_AMFLAGS = -I m4
|
|||
|
||||
DISTCLEANFILES = check-guile.log
|
||||
|
||||
dist-hook: gen-ChangeLog
|
||||
|
||||
gen_start_rev = 61db429e251bfd2f75cb4632972e0238056eb24b
|
||||
.PHONY: gen-ChangeLog
|
||||
gen-ChangeLog:
|
||||
if test -d .git; then \
|
||||
$(top_srcdir)/build-aux/gitlog-to-changelog \
|
||||
$(gen_start_rev)..HEAD > $(distdir)/cl-t; \
|
||||
rm -f $(distdir)/ChangeLog; \
|
||||
mv $(distdir)/cl-t $(distdir)/ChangeLog; \
|
||||
fi
|
||||
|
||||
# Makefile.am ends here
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue