ChangeLog generation (was: GnuCash 2.1.2 Released)

Christian Stimming stimming at tuhh.de
Tue May 22 15:29:50 EDT 2007


Am Sonntag, 20. Mai 2007 23:47 schrieb Derek Atkins:
> > 1: Add macros/svn2cl.xsl to EXTRA_DIST, so that when this rule for
> > whatever reason triggeres anywhere, it will be executed normally: It
> > downloads the approx. 300K of log info from svn.gnucash.org and runs
> > xsltproc, both of which will consume quite some time :-(
> >
> > 2: Modify the ChangeLog rule so that if there is no
> > $srcdir/macros/svn2cl.xsl file, the ChangeLog file is touched and that's
> > it.  However, if for whatever other reason this doesn't execute the
> > intended ChangeLog generation at the actual packaging time, we won't
> > notice it here at all :-(
>
> How about #4:
>
> Make ChangeLog a target of "dist", perhaps i the dist-local-hook,
> so that it's built during the "make dist"?   Or is that too late?

I don't understand how that would work. ChangeLog is also necessarily a target 
of "make install", which means it should be a target of "make" (let alone it 
already is a target of "dist"). How would that help in this issue?

Christian


More information about the gnucash-devel mailing list