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 45a9678..82fae14 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.