po-doc/ and LINGUAS
Jannis Pohlmann
jannis at xfce.org
Fri Aug 21 14:01:39 CEST 2009
On Fri, 21 Aug 2009 00:33:55 -0700
"Brian J. Tarricone" <brian at tarricone.org> wrote:
> On 08/20/2009 09:01 PM, Jannis Pohlmann wrote:
>
> > I noticed the po-doc/ folder of Thunar has a Makefile.am written by
> > Daichi in 2006. I guess other components with po-doc/ have this
> > too. It contains the following line twice:
> >
> > langs=`sed -e '/^#/d' $(srcdir)/LINGUAS`; \
> >
> > How do we want to treat those? Use @LINGUAS@ and make xdt-autogen
> > replace it with available languages? Or just copy the regular
> > expression used in xdt-autogen into these makefiles?
>
> Hmm, not sure. Maybe punt that for now until we figure out what we're
> doing with the docs?
Oh, riiiight, the docs. Another thing that needs to be taken care of
soon-ish.
> I think putting it in xdt-autogen is probably fine. We could do
> something like:
>
> if test -d po-doc; then
> doc_linguas=`(cd po-doc && ls *.po 2>/dev/null | \
> awk 'BEGIN { FS="."; ORS=" " } { print $1 }'`
> fi
>
> ... and then include s/@DOC_LINGUAS@/$doc_linguas/g in the
> substitution.
>
> The only slightly annoying bit is you'd need something like the
> following in configure.ac.in:
>
> DOC_LINGUAS=@DOC_LINGUAS@
> AC_SUBST([DOC_LINGUAS])
>
> ... and then you can use @DOC_LINGUAS@ or $(DOC_LINGUAS) in
> Makefile.am.
>
> If you guys think that's a good idea, I'd be happy to put that in.
Yes, this sounds good but as you say, it's probably nothing for
xdt-autogen until we know how our future user docs look like.
- Jannis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20090821/e49c4174/attachment.pgp>
More information about the Xfce4-dev
mailing list