Jim Meyering <j...@meyering.net> writes: > Simon Josefsson wrote: >> This is useful in gnutls, which uses a different gettext domain than the >> top-level package name. Pushed. > > Hi Simon, > > That looks fine. > > However, note that it downloads all .po files every time. Have you > considered adjusting that rule to work like the code in bootstrap, that > uses rsync and a cache? That avoids not only the wasteful re-download > when things haven't changed, but also the relatively expensive updates > that would be required when .po file time stamps change unnecessarily.
Thanks for the pointer, indeed there could be some code syncing here. Using rsync seems better. I'm not ready to use bootstrap in my projects yet, though, since I want the git repository to be possible to bootstrap without a network connection. But I don't see any harm in having .po rules in both bootstrap and maint.mk -- the maintiner choses which to use. I'll experiment with a rsync-based approach. /Simon