diff options
author | Richard Levitte <levitte@openssl.org> | 2002-05-30 15:19:43 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2002-05-30 15:19:43 +0000 |
commit | 2962243d19ec76c66fee5a551a6d26946716c364 (patch) | |
tree | dc1eaaf542a25d9efd62c2b2d30dad48b6fa81f4 /Makefile.org | |
parent | dbdc5d14d3301ed9dbab16db7e02f3c9518ac3f3 (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.org | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Makefile.org b/Makefile.org index 7cf7bdacde..8a767e2a30 100644 --- a/Makefile.org +++ b/Makefile.org @@ -733,8 +733,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 \ @@ -742,8 +743,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 |