Fix path to find util/pod2man.pl from the execution directory.
Make sure to use the predefined PERL. Submitted by: Bernhard Simon <bs@bsws.zid.tuwien.ac.at> Reviewed by: PR:
This commit is contained in:
parent
407adb5b17
commit
04677ce024
@ -739,7 +739,7 @@ install_docs:
|
|||||||
if [ "$$fn" = "config" ]; then sec=5; else sec=1; fi; \
|
if [ "$$fn" = "config" ]; then sec=5; else sec=1; fi; \
|
||||||
echo "installing man$$sec/`basename $$i .pod`.$$sec"; \
|
echo "installing man$$sec/`basename $$i .pod`.$$sec"; \
|
||||||
(cd `$(PERL) util/dirname.pl $$i`; \
|
(cd `$(PERL) util/dirname.pl $$i`; \
|
||||||
sh -c "`cd ../../util; ./pod2mantest ignore` \
|
sh -c "$(PERL) `cd ../../util; ./pod2mantest ignore` \
|
||||||
--section=$$sec --center=OpenSSL \
|
--section=$$sec --center=OpenSSL \
|
||||||
--release=$(VERSION) `basename $$i`") \
|
--release=$(VERSION) `basename $$i`") \
|
||||||
> $(INSTALL_PREFIX)$(MANDIR)/man$$sec/`basename $$i .pod`.$$sec; \
|
> $(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; \
|
if [ "$$fn" = "des_modes" ]; then sec=7; else sec=3; fi; \
|
||||||
echo "installing man$$sec/`basename $$i .pod`.$$sec"; \
|
echo "installing man$$sec/`basename $$i .pod`.$$sec"; \
|
||||||
(cd `$(PERL) util/dirname.pl $$i`; \
|
(cd `$(PERL) util/dirname.pl $$i`; \
|
||||||
sh -c "`cd ../../util; ./pod2mantest ignore` \
|
sh -c "$(PERL) `cd ../../util; ./pod2mantest ignore` \
|
||||||
--section=$$sec --center=OpenSSL \
|
--section=$$sec --center=OpenSSL \
|
||||||
--release=$(VERSION) `basename $$i`") \
|
--release=$(VERSION) `basename $$i`") \
|
||||||
> $(INSTALL_PREFIX)$(MANDIR)/man$$sec/`basename $$i .pod`.$$sec; \
|
> $(INSTALL_PREFIX)$(MANDIR)/man$$sec/`basename $$i .pod`.$$sec; \
|
||||||
|
@ -47,7 +47,7 @@ done
|
|||||||
echo "No working pod2man found. Consider installing a new version." >&2
|
echo "No working pod2man found. Consider installing a new version." >&2
|
||||||
if [ "$1" = ignore ]; then
|
if [ "$1" = ignore ]; then
|
||||||
echo "As a workaround, we'll use a bundled old copy of pod2man.pl." >&2
|
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
|
exit 0
|
||||||
fi
|
fi
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user