Best manual-to-automatic ChangeLog commit?

Donnie Berkholz dberkholz at gentoo.org
Thu Dec 6 10:06:03 PST 2007


On 09:44 Thu 06 Dec     , James Cloos wrote:
> >>>>> "Daniel" == Daniel Stone <daniel at fooishbar.org> writes:
> 
> Daniel> Just take the Makefile.am hook from xserver.
> 
> I take it these additions are also required?:
> 
> -EXTRA_DIST = ...
> +EXTRA_DIST = ... ChangeLog
> +MAINTAINERCLEANFILES = ChangeLog
> +dist-hook: ChangeLog

You might need a PHONY rule as well, otherwise you won't regenerate the 
ChangeLog if the file already exists and you end up distributing a stale 
ChangeLog.

Thanks,
Donnie



More information about the xorg mailing list