On Wed, Oct 05, 2016 at 09:45:53PM +0200, Petr Pisar wrote:
> On Tue, Oct 04, 2016 at 03:19:55PM -0700, Kevin J. McCarthy wrote:
> > What happens if you rm keymap_alldefs.h and then rerun 'cd po;make
> > mutt.pot'?
> > 
> That's it. I updated sources from hg, then run autoreconf and then "make -C po
> mutt.pot". Because I had old keymap_alldefs.h, the po/Makefile was satisfied
> despide being outdated. The result was mutt.pot without some messages.
> Running "make keymap_alldefs.h" before regenerating mutt.pot helped.

I'm glad we found the reason for it.  I pushed you revised translation
file up yesterday.

> Maybe if the po/Makefile.in.in declared the $(top_builddir)/keymap_alldefs.h
> as a phony target, it would run "( cd $(top_builddir) && $(MAKE)
> keymap_alldefs.h )" anytime, and that means the keymap_alldefs.h were always
> attempted to rebuild. And to prevent from rewriting the file (and thus
> confusing other rules from top-level Makefile.am), the ./Makefile.am could
> remove the "rm -f $@" command.

The situation is definitely not ideal, but I'm a bit wary about this fix.
I'll add it to my list to take a further look at this.

-- 
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA

Attachment: signature.asc
Description: PGP signature

Reply via email to