diff options
author | Richard Levitte <levitte@openssl.org> | 2002-08-01 21:52:56 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2002-08-01 21:52:56 +0000 |
commit | f6f9961819527dd121f8ebc16ff072f64c6e63bd (patch) | |
tree | b35492da582bab550ffea8945857229f534616db /Makefile.org | |
parent | e74e9c48de63992a4c32784e5064addf7630e30a (diff) | |
download | openssl-f6f9961819527dd121f8ebc16ff072f64c6e63bd.tar.gz |
We don't need to find out which pod2man to use more than once
Diffstat (limited to 'Makefile.org')
-rw-r--r-- | Makefile.org | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Makefile.org b/Makefile.org index 32d32477ae..bcdbc285ec 100644 --- a/Makefile.org +++ b/Makefile.org @@ -742,22 +742,23 @@ install_docs: $(INSTALL_PREFIX)$(MANDIR)/man3 \ $(INSTALL_PREFIX)$(MANDIR)/man5 \ $(INSTALL_PREFIX)$(MANDIR)/man7 - @for i in doc/apps/*.pod; do \ + @pod2man=`cd ../../util; ./pod2mantest ignore`; \ + for i in doc/apps/*.pod; do \ fn=`basename $$i .pod`; \ 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 "$(PERL) `cd ../../util; ./pod2mantest ignore` \ + sh -c "$(PERL) $$pod2man \ --section=$$sec --center=OpenSSL \ --release=$(VERSION) `basename $$i`") \ > $(INSTALL_PREFIX)$(MANDIR)/man$$sec/`basename $$i .pod`.$$sec; \ - done + done; \ @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; \ echo "installing man$$sec/`basename $$i .pod`.$$sec"; \ (cd `$(PERL) util/dirname.pl $$i`; \ - sh -c "$(PERL) `cd ../../util; ./pod2mantest ignore` \ + sh -c "$(PERL) $$pod2man \ --section=$$sec --center=OpenSSL \ --release=$(VERSION) `basename $$i`") \ > $(INSTALL_PREFIX)$(MANDIR)/man$$sec/`basename $$i .pod`.$$sec; \ |