On Thu, 12 Mar 2020 at 16:45, Pierre Labastie via lfs-dev
<[email protected]> wrote:

>
> Sorry, looks like there is something "magic" in glibc source, and that it is
> better to use "MAKEINFO=:". See manual/Makefile in glibc source tree:
> -----
> ifneq ($(strip $(MAKEINFO)),:)
> info: $(objpfx)libc.info
> endif
> [...]
> ifneq ($(PERL),no)
> ifneq ($(strip $(MAKEINFO)),:)
> install: $(inst_infodir)/libc.info
>         @if $(SHELL) -c '$(INSTALL_INFO) --version' >/dev/null 2>&1; then \
>          test -f $(inst_infodir)/dir || $(INSTALL_DATA) dir $(inst_infodir);\
>          $(INSTALL_INFO) --info-dir=$(inst_infodir) #wrapped by mailer
> $(inst_infodir)/libc.info;\
>         else : ; fi
> endif
> endif
> -----

Yep that works, without needing to echo anything into any files

Cheers.
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to