prepare-Changelog.pl for git

Donnie Berkholz dberkholz at gentoo.org
Sun Jul 16 09:54:55 PDT 2006


Matthieu Herrb wrote:
> Donnie Berkholz wrote:
>> Donnie Berkholz wrote:
>>> Whenever you commit to a repo, please double-check whether there's a
>>> Makefile.am rule to generate the ChangeLog on `make dist`. If not,
>>> delete the ChangeLog and copy the rule over from libX11.
>>
>> BTW, I just added another fix to this rule courtesy of Aaron Plattner,
>> so make sure you pull the latest stuff before copying it.
>>
> 
> The rule used in many commited Makefile.am doesn't work if building with
> builddir != srcdir. I'd suggest to use:
> 
> ChangeLog:
>     GIT_DIR=${srcdir}/.git git-log > ChangeLog

Is that a relevant use case? It only matters when running 'make
distcheck' which automatically does a builddir != srcdir build already.

Thanks,
Donnie

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://lists.x.org/archives/xorg/attachments/20060716/0ae577f4/attachment.pgp>


More information about the xorg mailing list