Chris Shoemaker <[EMAIL PROTECTED]> writes: > On Sun, Jan 08, 2006 at 04:14:29PM -0500, Derek Atkins wrote: >> Chris Shoemaker <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED] PGP key available _______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel