diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2004-11-25 17:47:31 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2004-11-25 17:47:31 +0000 |
commit | 401ee37a3e3d414567e7fa7e683fc176cb12411e (patch) | |
tree | 4e1af58ff404eb4c365da5da521d4f008e1af60f /Makefile.org | |
parent | cb26a20cb105d9ef5cb4706ba18ca2fa5a40a790 (diff) |
Allow alternative manual sections to be embedded in .pod file comments.
Diffstat (limited to 'Makefile.org')
-rw-r--r-- | Makefile.org | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.org b/Makefile.org index 57f71f5abc..bd952e3593 100644 --- a/Makefile.org +++ b/Makefile.org @@ -609,7 +609,7 @@ install_docs: fi; \ set -e; for i in doc/apps/*.pod; do \ fn=`basename $$i .pod`; \ - if [ "$$fn" = "config" ]; then sec=5; else sec=1; fi; \ + sec=`$(PERL) util/extract-section.pl 1 < $$i`; \ echo "installing man$$sec/$$fn.$${sec}$(MANSUFFIX)"; \ (cd `$(PERL) util/dirname.pl $$i`; \ sh -c "$$pod2man \ @@ -626,7 +626,7 @@ install_docs: done; \ set -e; for i in doc/crypto/*.pod doc/ssl/*.pod; do \ fn=`basename $$i .pod`; \ - if [ "$$fn" = "des_modes" ]; then sec=7; else sec=3; fi; \ + sec=`$(PERL) util/extract-section.pl 3 < $$i`; \ echo "installing man$$sec/$$fn.$${sec}$(MANSUFFIX)"; \ (cd `$(PERL) util/dirname.pl $$i`; \ sh -c "$$pod2man \ |