Add rules to handle pushing libvirt.pot to zanata, and refreshing .po
files with new content from zanata.
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
update-gmo: $(GMOFILES)
+push-pot: $(POTFILE)
+ zanata push --push-type=source
+
+pull-po: $(POTFILE)
+ zanata pull --create-skeletons
+ $(MAKE) update-po
+ $(MAKE) update-gmo
+
$(POTFILE): POTFILES $(POTFILE_DEPS)
$(XGETTEXT) -o $(srcdir)/$@-t $(XGETTEXT_ARGS) \
--files-from=$(abs_srcdir)/POTFILES