mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
po: Create empty files to be edited by xgettext
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user