ChangeLog format [WAS: Error making pot file]

Derek Atkins warlord at MIT.EDU
Sun Jan 8 17:27:39 EST 2006


Chris Shoemaker <c.shoemaker at cox.net> writes:

> On Sun, Jan 08, 2006 at 04:14:29PM -0500, Derek Atkins wrote:
>> Chris Shoemaker <c.shoemaker at cox.net> writes:
>> 
>> > Well, since actually having to `make clean' is annoying, we should
>> > certainly do anything easy to avoid it.  The dist-hook runs just
>> > before the archival, so how's this:
>> >
>> > dist-hook:
>> >         ./make-gnucash-potfiles > $(distdir)/po/POTFILES.in
>> 
>> Actually, I think we just want something like:
>> 
>> dist-hook: po/POTFILES.in
>
> Are you sure?  I didn't test it but I don't see why make would think
> that po/POTFILES.in is out-of-date.

yes, absolutely sure.  the POTFILES.in macro depends on .potfiles,
which will force it to always run:

po/POTFILES.in: make-gnucash-potfiles .potfiles
	./make-gnucash-potfiles > ./po/POTFILES.in

.potfiles:


So, anytime you depend explicitly on po/POTFILES.in it will rebuild
the POTFILES.in file.

I've fixed this in SVN myself.

> -chris

-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