Bug#629037: gnome-doc-utils: po files do not get rebuild when .xml changes

Helge Kreutzmann debian at helgefjell.de
Fri Jun 3 07:32:03 UTC 2011


Package: gnome-doc-utils
Version: 0.20.1-1
Severity: normal
Tags: patch

I maintain goobox and noticed that the po files in the help section do
not get rebuild from the xml sources, i.e.
helge at remaxp:/tmp/goobox/help$ pwd
/tmp/goobox/help
helge at remaxp:/tmp/goobox/help$ ls C
goobox.xml  legal.xml

If any of these two changes (most notably goobox.xml) then 

make po
should update the po files; unfortunately it doesn't.

As far as I can tell (I'm not sure I understand the inwards of all
the make files correctly) the following fixes this:

--- gnome-doc-utils.make.orig   2011-06-03 07:21:15.000000000 +0000
+++ gnome-doc-utils.make        2011-06-03 07:25:12.000000000 +0000
@@ -312,7 +312,7 @@
        $(foreach fig,$(_DOC_C_FIGURES), $(foreach lc,C $(_DOC_REAL_LINGUAS),  \                $(wildcard $(srcdir)/$(lc)/$(patsubst C/%,%,$(fig))) ))

-$(_DOC_POFILES):
+$(_DOC_POFILES): $(_DOC_C_DOCS_NOENT)
        @if ! test -d $(dir $@); then \
          echo "mkdir $(dir $@)"; \
          mkdir "$(dir $@)"; \


-- 
      Dr. Helge Kreutzmann                     debian at helgefjell.de
           Dipl.-Phys.                   http://www.helgefjell.de/debian.php
        64bit GNU powered                     gpg signed mail preferred
           Help keep free software "libre": http://www.ffii.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20110603/3e407857/attachment.pgp>


More information about the pkg-gnome-maintainers mailing list