[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

libidn2: ChangeLog, bootstrap

From: Tim Ruehsen
Subject: libidn2: ChangeLog, bootstrap
Date: Wed, 28 Dec 2016 10:06:42 +0100
User-agent: KMail/5.2.3 (Linux/4.8.0-2-amd64; KDE/5.28.0; x86_64; ; )

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 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
        $(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; }                \

You added "vc_files=false" to bootstrap.
Did you mean "vc_ignore=" ?

Regards, Tim

Attachment: signature.asc
Description: This is a digitally signed message part.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]