[Libguestfs] [PATCH 3/3] Create empty files to be edited by xgettext

Hilko Bengen bengen at hilluzination.de
Mon Dec 9 19:52:35 UTC 2013


This avoids:

    xgettext: error while opening "libguestfs.pot-t" for reading: No such file or directory

which I observed with xgettext (GNU gettext-tools) 0.18.3
---
 po/Makefile.am | 1 +
 1 file changed, 1 insertion(+)

diff --git a/po/Makefile.am b/po/Makefile.am
index a8343ec..fd69441 100644
--- a/po/Makefile.am
+++ b/po/Makefile.am
@@ -67,6 +67,7 @@ XGETTEXT_ARGS = \
 
 $(DOMAIN).pot: Makefile POTFILES $(POTFILES) POTFILES-pl $(POTFILES_PL) POTFILES-ml $(POTFILES_ML)
 	rm -f $@-t
+	touch $@-t
 if HAVE_OCAML_GETTEXT
 	$(OCAML_GETTEXT) --action extract --extract-pot $@-t $(POTFILES_ML)
 endif
-- 
1.8.5.1




More information about the Libguestfs mailing list