From 04677ce02424af603d0ee23829145c0dba756914 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Lutz=20J=C3=A4nicke?= Date: Thu, 20 Jun 2002 19:49:39 +0000 Subject: [PATCH] Fix path to find util/pod2man.pl from the execution directory. Make sure to use the predefined PERL. Submitted by: Bernhard Simon Reviewed by: PR: --- Makefile.org | 4 ++-- util/pod2mantest | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile.org b/Makefile.org index 5eb7b095a5..7d0280bb39 100644 --- a/Makefile.org +++ b/Makefile.org @@ -739,7 +739,7 @@ install_docs: if [ "$$fn" = "config" ]; then sec=5; else sec=1; fi; \ echo "installing man$$sec/`basename $$i .pod`.$$sec"; \ (cd `$(PERL) util/dirname.pl $$i`; \ - sh -c "`cd ../../util; ./pod2mantest ignore` \ + sh -c "$(PERL) `cd ../../util; ./pod2mantest ignore` \ --section=$$sec --center=OpenSSL \ --release=$(VERSION) `basename $$i`") \ > $(INSTALL_PREFIX)$(MANDIR)/man$$sec/`basename $$i .pod`.$$sec; \ @@ -749,7 +749,7 @@ install_docs: if [ "$$fn" = "des_modes" ]; then sec=7; else sec=3; fi; \ echo "installing man$$sec/`basename $$i .pod`.$$sec"; \ (cd `$(PERL) util/dirname.pl $$i`; \ - sh -c "`cd ../../util; ./pod2mantest ignore` \ + sh -c "$(PERL) `cd ../../util; ./pod2mantest ignore` \ --section=$$sec --center=OpenSSL \ --release=$(VERSION) `basename $$i`") \ > $(INSTALL_PREFIX)$(MANDIR)/man$$sec/`basename $$i .pod`.$$sec; \ diff --git a/util/pod2mantest b/util/pod2mantest index 79aefafac0..a67433407b 100755 --- a/util/pod2mantest +++ b/util/pod2mantest @@ -47,7 +47,7 @@ done echo "No working pod2man found. Consider installing a new version." >&2 if [ "$1" = ignore ]; then echo "As a workaround, we'll use a bundled old copy of pod2man.pl." >&2 - echo "util/pod2man.pl" + echo "../../util/pod2man.pl" exit 0 fi exit 1 -- 2.34.1