Install man pages.
authorUlf Möller <ulf@openssl.org>
Sat, 8 Jan 2000 02:08:13 +0000 (02:08 +0000)
committerUlf Möller <ulf@openssl.org>
Sat, 8 Jan 2000 02:08:13 +0000 (02:08 +0000)
Makefile.org

index 45a9678cc327da1a08fb8b344f64349984f9567e..82fae14967d9b2fd99d7c957ba1a3f7422c67313 100644 (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.