summaryrefslogtreecommitdiffstats
path: root/Makefile.org
diff options
context:
space:
mode:
authorUlf Möller <ulf@openssl.org>2000-01-08 02:08:13 +0000
committerUlf Möller <ulf@openssl.org>2000-01-08 02:08:13 +0000
commit5b58baee3c2ad47f7fa673fed7f31f0656eef13b (patch)
tree76e3c42bde1bf4d35c11f3eca7372f09445c5bb5 /Makefile.org
parent69396b419937c796523e11b9540dac4c44ff972d (diff)
Install man pages.
Diffstat (limited to 'Makefile.org')
-rw-r--r--Makefile.org16
1 files changed, 15 insertions, 1 deletions
diff --git a/Makefile.org b/Makefile.org
index 45a9678cc3..82fae14967 100644
--- a/Makefile.org
+++ b/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.