From patchwork Fri Aug 21 17:17:46 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Frysinger X-Patchwork-Id: 8345 X-Patchwork-Delegate: vapier@gentoo.org Received: (qmail 11004 invoked by alias); 21 Aug 2015 17:17:57 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 10993 invoked by uid 89); 21 Aug 2015 17:17:56 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 X-HELO: smtp.gentoo.org From: Mike Frysinger To: libc-alpha@sourceware.org Subject: [PATCH] manual: skip build when perl is unavailable Date: Fri, 21 Aug 2015 13:17:46 -0400 Message-Id: <1440177466-16791-1-git-send-email-vapier@gentoo.org> In-Reply-To: <200602222112.28242.vapier@gentoo.org> References: <200602222112.28242.vapier@gentoo.org> 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)/libc.info @if $(SHELL) -c '$(INSTALL_INFO) --version' >/dev/null 2>&1; then \ @@ -179,6 +180,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-%: ;