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

Richard W.M. Jones rjones at redhat.com
Tue Dec 10 10:24:45 UTC 2013


On Mon, Dec 09, 2013 at 08:52:35PM +0100, Hilko Bengen wrote:
> 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

ACK to all 3 patches.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://people.redhat.com/~rjones/virt-top




More information about the Libguestfs mailing list