diff options
author | Bodo Möller <bodo@openssl.org> | 2002-08-14 14:04:24 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2002-08-14 14:04:24 +0000 |
commit | 623e9e66c0de2981420af35c9f06b2c900538d22 (patch) | |
tree | 579bed64673faa728ffef1bb7a79ea295eaee3b3 /Makefile.org | |
parent | 90f5a2b6fedaa952d015bb845ca075ef2eeba566 (diff) |
change how pod2man is handled: explicitly invoke '$PERL' only when
needed, call 'pod2man' directly if this works
PR: 217
Diffstat (limited to 'Makefile.org')
-rw-r--r-- | Makefile.org | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.org b/Makefile.org index 1db864b27c..d87dfa3f79 100644 --- a/Makefile.org +++ b/Makefile.org @@ -743,13 +743,13 @@ install_docs: $(INSTALL_PREFIX)$(MANDIR)/man3 \ $(INSTALL_PREFIX)$(MANDIR)/man5 \ $(INSTALL_PREFIX)$(MANDIR)/man7 - @pod2man=`cd util; ./pod2mantest ignore`; \ + @pod2man="`cd util; ./pod2mantest $(PERL)`"; \ 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) $$pod2man \ + sh -c "$$pod2man \ --section=$$sec --center=OpenSSL \ --release=$(VERSION) `basename $$i`") \ > $(INSTALL_PREFIX)$(MANDIR)/man$$sec/`basename $$i .pod`.$$sec; \ @@ -759,7 +759,7 @@ install_docs: 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) $$pod2man \ + sh -c "$$pod2man \ --section=$$sec --center=OpenSSL \ --release=$(VERSION) `basename $$i`") \ > $(INSTALL_PREFIX)$(MANDIR)/man$$sec/`basename $$i .pod`.$$sec; \ |