1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

Generate distributed ChangeLog from git log

* bootstrap.conf (gnulib_modules): Add "gitlog-to-changelog".
* Makefile.am: Generate the ChangeLog file from the git log and
the old ChangeLog data.
This commit is contained in:
Giuseppe Scrivano 2014-12-21 15:50:29 +01:00
parent a8d437d827
commit 5de8ab2a0b
3 changed files with 23 additions and 8 deletions

View File

@ -1,9 +1,3 @@
2014-40-22 Tim Ruehsen <tim.ruehsen@gmx.de>
* tests/Test-204.px: added file
* tests/run-px: added Test-204.px
* tests/Makefile.am: added Test-204.px
2014-12-11 Tim Ruehsen <tim.ruehsen@gmx.de> 2014-12-11 Tim Ruehsen <tim.ruehsen@gmx.de>
* src/Makefile.am: Support older versions of flex * src/Makefile.am: Support older versions of flex
@ -1308,6 +1302,11 @@
* src/http.c (gethttp): Fix 204 response handling * src/http.c (gethttp): Fix 204 response handling
* tests/Test-204.px: added file
* tests/run-px: added Test-204.px
* tests/Makefile.am: added Test-204.px
2014-04-22 Giuseppe Scrivano <gscrivan@redhat.com> 2014-04-22 Giuseppe Scrivano <gscrivan@redhat.com>
* tests/Makefile.am (EXTRA_DIST): Add missing Test--start-pos.px, * tests/Makefile.am (EXTRA_DIST): Add missing Test--start-pos.px,

View File

@ -43,7 +43,7 @@ ACLOCAL_AMFLAGS = -I m4
# subdirectories in the distribution # subdirectories in the distribution
SUBDIRS = lib src doc po tests util testenv SUBDIRS = lib src doc po tests util testenv
EXTRA_DIST = ChangeLog-2014-12-10 MAILING-LIST \ EXTRA_DIST = MAILING-LIST \
msdos/config.h msdos/Makefile.DJ \ msdos/config.h msdos/Makefile.DJ \
msdos/Makefile.WC ABOUT-NLS \ msdos/Makefile.WC ABOUT-NLS \
build-aux/build_info.pl build-aux/git-version-gen .version build-aux/build_info.pl build-aux/git-version-gen .version
@ -60,5 +60,20 @@ clean-generic:
# Arrange so that .tarball-version appears only in the distribution # Arrange so that .tarball-version appears only in the distribution
# tarball, and never in a checked-out repository. # tarball, and never in a checked-out repository.
dist-hook: dist-hook: gen-ChangeLog
$(AM_V_GEN)echo $(VERSION) > $(distdir)/.tarball-version $(AM_V_GEN)echo $(VERSION) > $(distdir)/.tarball-version
gen_start_date = 2014-12-10
.PHONY: gen-ChangeLog
gen-ChangeLog:
$(AM_V_GEN)if test -d .git; then \
log_fix="$(srcdir)/build-aux/git-log-fix"; \
test -e "$$log_fix" \
|| amend_git_log=; \
$(top_srcdir)/build-aux/gitlog-to-changelog \
$$amend_git_log --since=$(gen_start_date) > $(distdir)/cl-t && \
echo >> $(distdir)/cl-t && \
cat ChangeLog-2014-12-10 >> $(distdir)/cl-t && \
{ rm -f $(distdir)/ChangeLog && \
mv $(distdir)/cl-t $(distdir)/ChangeLog; } \
fi

View File

@ -47,6 +47,7 @@ getopt-gnu
getpass-gnu getpass-gnu
getpeername getpeername
getsockname getsockname
gitlog-to-changelog
git-version-gen git-version-gen
gnupload gnupload
ioctl ioctl