Fix path to find util/pod2man.pl from the execution directory.
authorLutz Jänicke <jaenicke@openssl.org>
Thu, 20 Jun 2002 19:51:40 +0000 (19:51 +0000)
committerLutz Jänicke <jaenicke@openssl.org>
Thu, 20 Jun 2002 19:51:40 +0000 (19:51 +0000)
Make sure to use the predefined PERL.
Submitted by: Bernhard Simon <bs@bsws.zid.tuwien.ac.at>
Reviewed by:
PR:

Makefile.org
util/pod2mantest

index ee1467f89cae51b85df202cbb17d28cf1479ca8e..acd64dcee5c3b80380b059970ac40aa4dcae73f3 100644 (file)
@@ -688,7 +688,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; \
@@ -698,7 +698,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; \
index 79aefafac0aab918ae148ef10345d8a6472e5b41..a67433407b3e0f1f112ad7e8c2efa71a49cd8a8c 100755 (executable)
@@ -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