Install man pages.

This commit is contained in:
Ulf Möller 2000-01-08 02:08:13 +00:00
parent 69396b4199
commit 5b58baee3c

View File

@ -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.