]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
manual: skip build when perl is unavailable
authorMike Frysinger <vapier@gentoo.org>
Thu, 23 Feb 2006 02:12:28 +0000 (21:12 -0500)
committerMike Frysinger <vapier@gentoo.org>
Fri, 21 Aug 2015 21:10:59 +0000 (17:10 -0400)
Do not try to generate the manual when perl is unavailable.  This
matches the behavior when makeinfo is unavailable.  Otherwise the
install step fails when trying to generate the libm section since
it runs a perl script.

ChangeLog
manual/Makefile

index 4b3d9cccc4e10800be73109d6717d97295341892..1820d42e44a0a738f2c6c89d7faf8656d90a1da7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2015-08-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * manual/Makefile (install): Only build manual when perl is available.
+
 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
 
        * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
index 53822082e2f5a5749555a24561043a55ec1041de..cdb6763e9b72c40a825f4ab7cc8e667e2f966ce4 100644 (file)
@@ -172,6 +172,8 @@ include ../Rules
 
 .PHONY: install subdir_install install-data
 install-data subdir_install: install
+# libm-err.texi generation requires perl.
+ifneq ($(PERL),no)
 ifneq ($(strip $(MAKEINFO)),:)
 install: $(inst_infodir)/libc.info
        @if $(SHELL) -c '$(INSTALL_INFO) --version' >/dev/null 2>&1; then \
@@ -179,6 +181,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-%: ;