Hi Simon, You recently removed the ChangeLog and added a hook into bootstrap.
I just want to mention how wget is doing this:
- renamed ChangeLog to ChangeLog-2014-12-10
- added a dist-hook rule into Makefile.am which creates a ChangeLog when needed
(make dist) by merging ChangeLog-2014-12-10 with the new git commit messages.
This allows creating a ChangeLog from git without another external tool - just
with the scripts from gnulib:
# Arrange so that .tarball-version appears only in the distribution
# tarball, and never in a checked-out repository.
dist-hook: gen-ChangeLog
$(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
You added "vc_files=false" to bootstrap.
Did you mean "vc_ignore=" ?
Regards, Tim
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Help-libidn mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-libidn
