mirror of
https://github.com/openssl/openssl.git
synced 2024-11-25 11:03:37 +08:00
Install man pages.
This commit is contained in:
parent
69396b4199
commit
5b58baee3c
16
Makefile.org
16
Makefile.org
@ -333,7 +333,9 @@ install: all
|
||||
$(INSTALL_PREFIX)$(OPENSSLDIR)/misc \
|
||||
$(INSTALL_PREFIX)$(OPENSSLDIR)/certs \
|
||||
$(INSTALL_PREFIX)$(OPENSSLDIR)/private \
|
||||
$(INSTALL_PREFIX)$(OPENSSLDIR)/lib
|
||||
$(INSTALL_PREFIX)$(OPENSSLDIR)/lib \
|
||||
$(INSTALL_PREFIX)$(OPENSSLDIR)/man/man1 \
|
||||
$(INSTALL_PREFIX)$(OPENSSLDIR)/man/man3
|
||||
@for i in $(EXHEADER) ;\
|
||||
do \
|
||||
(cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
|
||||
@ -351,5 +353,17 @@ install: all
|
||||
$(RANLIB) $(INSTALL_PREFIX)$(INSTALLTOP)/lib/$$i; \
|
||||
chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/lib/$$i ); \
|
||||
done
|
||||
@echo installing man 1
|
||||
@for i in doc/openssl.pod doc/man/*.pod ; \
|
||||
do pod2man --section=1 --date=`date +%Y-%m-%d` --center=OpenSSL \
|
||||
--release=$(VERSION) $$i > `echo $$i | sed \
|
||||
"s#.*/#$(INSTALL_PREFIX)$(INSTALLTOP)/man/man1/#;s/pod/1/"`; \
|
||||
done
|
||||
@echo installing man 3
|
||||
@for i in doc/crypto.pod doc/ssl.pod ; \
|
||||
do pod2man --section=3 --date=`date +%Y-%m-%d` --center=OpenSSL \
|
||||
--release=$(VERSION) $$i > `echo $$i | sed \
|
||||
"s#.*/#$(INSTALL_PREFIX)$(INSTALLTOP)/man/man3/#;s/pod/3/"`; \
|
||||
done
|
||||
|
||||
# DO NOT DELETE THIS LINE -- make depend depends on it.
|
||||
|
Loading…
Reference in New Issue
Block a user