Re: Display Help translations for Kupfer in Damned-Lies



Le samedi 06 mars 2010 à 13:27 +0100, Ulrik Sverdrup a écrit :
> I don't subscribe to this list, but I read Mario's reply in the
> archive, and here is a "reply" to that.
> 
> I was sure the Makefile.am was checked in, but it is not. I'll check
> it in and see if that improves the situation. I'm not that fond of
> having a file that we don't even use to explicitly declare everything,
> the waf solution so far is "smarter" (It uses all *.page files found
> for example).

One possible solution would be to add standard gnome-doc-utils variables
in the wscript file. Something like:

diff --git a/help/wscript b/help/wscript
index 002f361..839c57c 100644
--- a/help/wscript
+++ b/help/wscript
@@ -3,9 +3,12 @@ import os
 import Task
 from TaskGen import extension, feature, after
 
-LINGUAS = """
-de
-""".split()
+# These are standard gnome-doc-utils variables
+DOC_ID       = "kupfer"
+DOC_INCLUDES = "legal.xml"
+DOC_FIGURES  = ""
+DOC_PAGES    = "index.page introduction.page license.page plugins.page
tips.page"
+DOC_LINGUAS  = "de"
 
 Task.simple_task_type('xml2po','${XML2PO} ${XML2POFLAGS} ${SRC} >
${TGT}',color='BLUE')
 
@@ -52,5 +55,5 @@ def build(bld):
        if bld.env["XML2PO"]:
                task = bld.new_task_gen(
                        features="mallard",
-                       doc_linguas=LINGUAS,
+                       doc_linguas=LINGUAS.split(),
                )

I could then instruct damned-lies to read the wscript file in addition
to Makefile.am.

Claude



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