This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: ChangeLog dependency for `make dist`
On 08/01/20 6:39 am, Paul Eggert wrote:
> This would make it harder for ordinary hackers to build a tarball, since
> ChangeLog wouldn't exist in their trees. Also, if I understand the
> Makefile correctly it would want to run a "git diff ChangeLog" which
> won't work since there's no ChangeLog committed (and there shouldn't be
> one).
>
> Instead, how about not putting a ./ChangeLog file into the release? That
> is, we simply call the newly-generated file
> ./ChangeLog.old/ChangeLog.20, and distribute it that way. In the release
> after that we call it ./ChangeLog.old/ChangeLog.21, and so on. That will
> make it easier to compare the ChangeLog files extracted from a tarball
> to the ChangeLog files checked out from Git.
Agreed, this way the ChangeLog file doesn't disappear and appear at
random. So:
* Right after freeze: Generate ChangeLog.old/ChangeLog.N and `make dist`
to build tarball for translations
* Right before release: Update ChangeLog.old/ChangeLog.N and commit
I'll post a patch shortly.
Siddhesh