Start the message extraction from the toplevel source directory, so the
file references are relative to that, instead of relative to this po
subdirectory.
---
 po/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/po/Makefile.am b/po/Makefile.am
index 790c5710..8d981d91 100644
--- a/po/Makefile.am
+++ b/po/Makefile.am
@@ -63,7 +63,7 @@ $(DOMAIN).pot: Makefile POTFILES-ml $(POTFILES_ML)
        rm -f $@-t
        touch $@-t
 if HAVE_OCAML_GETTEXT
-       $(OCAML_GETTEXT) --action extract --extract-pot $@-t $(POTFILES_ML)
+       cd $(top_srcdir) && $(OCAML_GETTEXT) --action extract --extract-pot 
$(abs_srcdir)/$@-t $(shell cat $(abs_srcdir)/POTFILES-ml)
         \
        $(FIX_CHARSET) $@-t
 endif
-- 
2.26.2

_______________________________________________
Libguestfs mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libguestfs

Reply via email to