1From 1c033f2a23941c46d88b9ac279f87bf2c6e99499 Mon Sep 17 00:00:00 2001
2From: Ross Burton <ross.burton@arm.com>
3Date: Wed, 15 Jul 2020 16:03:21 +0100
4Subject: [PATCH] Don't use the target perl when regenerating the man pages.
5
6Upstream-Status: Inappropriate
7Signed-off-by: Ross Burton <ross.burton@arm.com>
8
9---
10 man/local.mk | 3 +--
11 1 file changed, 1 insertion(+), 2 deletions(-)
12
13diff --git a/man/local.mk b/man/local.mk
14index 775c131..ba94753 100644
15--- a/man/local.mk
16+++ b/man/local.mk
17@@ -77,13 +77,12 @@ SUFFIXES += .w .1
18 	@echo "Updating man page $@"
19 	$(MKDIR_P) $(@D)
20 	PATH="$(top_srcdir)/man$(PATH_SEPARATOR)$$PATH"; \
21-	PERL="$(PERL)"; \
22 	PACKAGE_NAME="$(PACKAGE_NAME)"; \
23 	VERSION="$(VERSION)"; \
24 	RELEASE_YEAR="$(RELEASE_YEAR)"; \
25 	top_srcdir="$(top_srcdir)"; \
26 	channeldefs_pm="$(channeldefs_pm)"; \
27-	export PATH PERL PACKAGE_NAME VERSION RELEASE_YEAR; \
28+	export PATH PACKAGE_NAME VERSION RELEASE_YEAR; \
29 	export top_srcdir channeldefs_pm; \
30 	$(HELP2MAN) \
31 	    --include=$(srcdir)/$*.x \
32