Re: [PATCH v3 06/20] po: generate files into build directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2019-11-08 at 10:04 +0000, Daniel P. Berrangé wrote:
> On Thu, Oct 24, 2019 at 03:05:24PM +0200, Pavel Hrdina wrote:
> > -endif HAVE_GNU_GETTEXT_TOOLS
> > -
> >  if ENABLE_NLS
> >  
> >  # Cannot use 'localedir' since this conflicts with autoconf.
> > @@ -99,7 +104,7 @@ install-data-hook: $(GMOFILES)
> >  	for lang in $(LANGS); do \
> >  	  d=$(DESTDIR)$(langinstdir)/$$lang/LC_MESSAGES; \
> >  	  mkdir -p $$d; \
> > -	  install -m 0644 $(srcdir)/$$lang.gmo $$d/$(DOMAIN).mo; \
> > +	  install -m 0644 $$lang.gmo $$d/$(DOMAIN).mo; \
> >  	done
> >  
> >  uninstall-hook:
> > @@ -109,3 +114,5 @@ uninstall-hook:
> >  	done
> >  
> >  endif ENABLE_NLS
> > +
> > +endif HAVE_GNU_GETTEXT_TOOLS
> 
> Moving this HAVE_GNU_GETTEXT_TOOLS conditional means that on OS that
> lack the GNU gettext impl, we are no longer able to 'make install'
> the translation files, despite having them prebuilt & bundled in the
> tarball.
> 
> IIRC, this affects any non-Linux host.

We install GNU gettext both on FreeBSD and on macOS, so it shouldn't
really be a problem I think? To me it doesn't seem much different
from mandating the use of GNU make, which we already do.

-- 
Andrea Bolognani / Red Hat / Virtualization

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux