This is the mail archive of the mailing list for the glibc project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] 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.

2015-08-21  Mike Frysinger  <>

	* manual/Makefile (install): Only build manual when perl is available.
 manual/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/manual/Makefile b/manual/Makefile
index 5382208..67dff77 100644
--- a/manual/Makefile
+++ b/manual/Makefile
@@ -172,6 +172,7 @@ include ../Rules
 .PHONY: install subdir_install install-data
 install-data subdir_install: install
+ifneq ($(PERL),no)
 ifneq ($(strip $(MAKEINFO)),:)
 install: $(inst_infodir)/
 	@if $(SHELL) -c '$(INSTALL_INFO) --version' >/dev/null 2>&1; then \
@@ -179,6 +180,7 @@ install: $(inst_infodir)/
 	 $(INSTALL_INFO) --info-dir=$(inst_infodir) $(inst_infodir)/;\
 	else : ; fi
 # Catchall implicit rule for other installation targets from the parent.
 install-%: ;

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]