ChangeLog generation (was: GnuCash 2.1.2 Released)

Derek Atkins warlord at MIT.EDU
Sun May 20 17:47:18 EDT 2007


Quoting Christian Stimming <stimming at tuhh.de>:

> I think we have two, well, three options on how to handle this:
>
> 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 :-(
>
> 3: Modify the ChangeLog rule so that it doesn't depend on any other file
> anymore, hence the packager need to remember to run it manually before
> running "make dist". However, yet another extra step is just prone to be
> forgotten :-(
>
> I'd propose #1 or #2. Other ideas?

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?

> Christian

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available



More information about the gnucash-devel mailing list