summaryrefslogtreecommitdiffstats
path: root/Makefile.org
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2002-05-30 15:18:19 +0000
committerRichard Levitte <levitte@openssl.org>2002-05-30 15:18:19 +0000
commit2619064e09a343505ed3c345643febd203ca7cfb (patch)
treecbadd8752dc314feda32e9c74f300909b6fb7e7f /Makefile.org
parent3cda197ee338aedc4348564e0b4446d3ef928edb (diff)
Apparently, there are still chances we have to deal with buggy pod2man versions.
Deal with that by testing any available pod2man and using it if appropriate, and falling back to util/pod2man.pl if none was found.
Diffstat (limited to 'Makefile.org')
-rw-r--r--Makefile.org10
1 files changed, 6 insertions, 4 deletions
diff --git a/Makefile.org b/Makefile.org
index a2c756eabe..12ddbd403b 100644
--- a/Makefile.org
+++ b/Makefile.org
@@ -682,8 +682,9 @@ install_docs:
if [ "$$fn" = "config" ]; then sec=5; else sec=1; fi; \
echo "installing man$$sec/`basename $$i .pod`.$$sec"; \
(cd `dirname $$i`; \
- pod2man --section=$$sec --center=OpenSSL \
- --release=$(VERSION) `basename $$i`) \
+ sh -c "`cd ../../util; ./pod2mantest ignore` \
+ --section=$$sec --center=OpenSSL \
+ --release=$(VERSION) `basename $$i`") \
> $(INSTALL_PREFIX)$(MANDIR)/man$$sec/`basename $$i .pod`.$$sec; \
done
@for i in doc/crypto/*.pod doc/ssl/*.pod; do \
@@ -691,8 +692,9 @@ install_docs:
if [ "$$fn" = "des_modes" ]; then sec=7; else sec=3; fi; \
echo "installing man$$sec/`basename $$i .pod`.$$sec"; \
(cd `dirname $$i`; \
- pod2man --section=$$sec --center=OpenSSL \
- --release=$(VERSION) `basename $$i`) \
+ sh -c "`cd ../../util; ./pod2mantest ignore` \
+ --section=$$sec --center=OpenSSL \
+ --release=$(VERSION) `basename $$i`") \
> $(INSTALL_PREFIX)$(MANDIR)/man$$sec/`basename $$i .pod`.$$sec; \
done