This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [patch] skip libm texi generation if perl is not installed
- From: Mike Frysinger <vapier at gentoo dot org>
- To: Roland McGrath <roland at redhat dot com>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Wed, 22 Feb 2006 21:12:28 -0500
- Subject: Re: [patch] skip libm texi generation if perl is not installed
- Geoman: IS A RETARD
- References: <20060223005229.B9AB1180AB1@magilla.sf.frob.com>
On Wednesday 22 February 2006 19:52, Roland McGrath wrote:
> > On Wednesday 22 February 2006 18:50, Roland McGrath wrote:
> > > You should arrange not to build the manual at all if you can't build it
> > > right.
> >
> > unless i'm mistaken, the manual is built automatically during `make
> > install` and there is no configure option to disable the manual from
> > being built ...
>
> So that's the patch you seem to want to write, not the one you sent.
got it ... i think :)
is the attached patch acceptable ? this disables the install target if perl
is not available; same as if makeinfo is not available (libc.info cannot be
fully/properly built w/out perl as it directly requires libm-err.texi which
is generated with perl)
-mike
2006-02-22 Mike Frysinger <vapier@gentoo.org>
* manual/Makefile (install): Only build manual when perl is available.
--- libc/manual/Makefile
+++ libc/manual/Makefile
@@ -179,6 +179,7 @@ realclean: distclean
.PHONY: install subdir_install installdirs install-data
install-data subdir_install: install
+ifneq ($(PERL),no)
ifneq ($(strip $(MAKEINFO)),:)
install: $(inst_infodir)/libc.info
@if $(SHELL) -c '$(INSTALL_INFO) --version' >/dev/null 2>&1; then \
@@ -186,6 +187,7 @@ install: $(inst_infodir)/libc.info
$(INSTALL_INFO) --info-dir=$(inst_infodir) $(inst_infodir)/libc.info;\
else : ; fi
endif
+endif
# Catchall implicit rule for other installation targets from the parent.
install-%: ;