[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ChangeLog is generated from gitlog now.
From: |
Andrei Borzenkov |
Subject: |
Re: ChangeLog is generated from gitlog now. |
Date: |
Sat, 24 Jan 2015 22:07:25 +0300 |
В Sat, 24 Jan 2015 19:55:32 +0100
Vladimir 'φ-coder/phcoder' Serbinenko <address@hidden> пишет:
> On 24.01.2015 19:37, Andrei Borzenkov wrote:
> > В Sat, 24 Jan 2015 17:33:44 +0100
> > Vladimir 'φ-coder/phcoder' Serbinenko <address@hidden> пишет:
> >
> >> It's generated only on creation of dist archive.
> >> This also has implications to the git commit message format used.
> >> Now git commit message follows standard git commit writing rules rather
> >> than one-off rules which resulted from CSV->SVN->BZR->Git transitions.
> >>
> >
> >> +ChangeLog: FORCE
> >> + if test -d $(top_srcdir)/.git; then \
> >> + $(gitlog_to_changelog) --srcdir=$(top_srcdir)
> >> --since=$(changelog_start_date) > 'address@hidden'; \
> >> + rm -f '$@'; mv 'address@hidden' '$@'; \
> >> + fi
> >> +
> >> +EXTRA_DIST += ChangeLog ChangeLog-2015
> >
> >
> > This breaks make dist from git checkout, where repository is not
> > available. May be empty ChangeLog should be created by autogen.sh.
yes. Thank you!
> >
> Would this patch fix your issue?
> diff --git a/Makefile.am b/Makefile.am
> index df0a728..a9f5780 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -447,6 +447,8 @@ ChangeLog: FORCE
> if test -d $(top_srcdir)/.git; then \
> $(gitlog_to_changelog) --srcdir=$(top_srcdir)
> --since=$(changelog_start_date) > 'address@hidden'; \
> rm -f '$@'; mv 'address@hidden' '$@'; \
> + else \
> + touch $@; \
> fi
>
> EXTRA_DIST += ChangeLog ChangeLog-2015
>
> >
> >
> > _______________________________________________
> > Grub-devel mailing list
> > address@hidden
> > https://lists.gnu.org/mailman/listinfo/grub-devel
> >
>
>
pgpzTzwSydUO4.pgp
Description: OpenPGP digital signature