about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-02-22 21:12:28 -0500
committerMike Frysinger <vapier@gentoo.org>2015-08-21 17:10:59 -0400
commit1695cdae065fa3693e7b18169a100f53444eac69 (patch)
treeb1815ed0de9411381b34be79bd1b8743a2683056
parent854e0055b3bc904f56a38b90491583383a86ed29 (diff)
downloadglibc-1695cdae065fa3693e7b18169a100f53444eac69.tar.gz
glibc-1695cdae065fa3693e7b18169a100f53444eac69.tar.xz
glibc-1695cdae065fa3693e7b18169a100f53444eac69.zip
manual: skip build when perl is unavailable
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.
-rw-r--r--ChangeLog4
-rw-r--r--manual/Makefile3
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 4b3d9cccc4..1820d42e44 100644
--- 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
diff --git a/manual/Makefile b/manual/Makefile
index 53822082e2..cdb6763e9b 100644
--- a/manual/Makefile
+++ b/manual/Makefile
@@ -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-%: ;