[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: When to call debconf-updatepo and when not?



Marc Haber <mh+debian-mentors@zugschlus.de> writes:

> I have a package (exim4) where debian/rules clean calls
> debconf-updatepo. And still people complain that when they rebuild the
> package, some po diffs end up in the interdiff.

> What am I doing wrong? Where do I call debconf-updatepo, and where do
> I not?

Personally, I disagree with the advice to run debconf-updatepo
automatically and just run it manually whenever I change the templates or
when there's some other reason to do so (I'll often run it after importing
a new translation to put the new translation in the format that it likes).
It sometimes does other stuff, like change the line numbers in the po
files (to things that don't look like line numbers) and word-wrap
translations, so you can get unimportant diffs between builds by running
it as part of the build.

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>



Reply to: