[Adduser-devel] Bug#331392: adduser: incorrect po/Makefile

Thomas Huriaux thomas.huriaux at kti.ae.poznan.pl
Sun Oct 23 11:57:13 UTC 2005


Marc Haber <mh+debian-packages at zugschlus.de> (23/10/2005):
> On Sun, Oct 23, 2005 at 01:33:02PM +0200, Thomas Huriaux wrote:
> > > That way, all changes done to the package during the build do not
> > > propagate back to version control.
> > > 
> > > I have frequently seen packages update their debconf po files in the
> > > clean target - maybe adduser should do that as well?
> > 
> > This is only for the debconf templates, but indeed, you should add
> > debconf-updatepo to the clean target of debian/rules, the debconf po
> > files for de, el, es, nl and sv are outdated. You can do the same for
> > the program (done in the svn repository AFAICS) and manpage
> > translations. See the attached patch.
> 
> Applied, thanks.
> 
> > However, for the manpage translations, there is a problem. You will ask
> > twice to run po4a: at the build time and at the clean time. I don't know
> > how to avoid this situation.
> 
> I don't think that this hurts, but why shouldn't one remove the po4a
> call from build time?

Because the po4a call updates the po files and generates the translated
manpages. If you remove this call from build time, you won't have the
manpages, if you don't remove the generated manpages in the clean
target, your sources won't be fully clean.

It does not hurt, but it is not optimized :)

-- 
Thomas Huriaux
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/adduser-devel/attachments/20051023/c96965ab/attachment.pgp


More information about the Adduser-devel mailing list