Build using pregenerated manpages; don't use perl to translate .pod's.

The translated .pod's have already been committed.
This commit is contained in:
Mark Murray 2002-05-14 19:39:00 +00:00
parent f83c7ad731
commit 01e8018af8
2 changed files with 2 additions and 12 deletions

View File

@ -14,7 +14,7 @@
${LCRYPTO_SRC}/rc4 ${LCRYPTO_SRC}/rc5 ${LCRYPTO_SRC}/ripemd \
${LCRYPTO_SRC}/rsa ${LCRYPTO_SRC}/../rsaref ${LCRYPTO_SRC}/sha \
${LCRYPTO_SRC}/stack ${LCRYPTO_SRC}/txt_db ${LCRYPTO_SRC}/x509 \
${LCRYPTO_SRC}/x509v3
${LCRYPTO_SRC}/x509v3 ${.CURDIR}/man
.if ${MACHINE_ARCH} == "i386"
.PATH: ${.CURDIR}/i386
@ -343,9 +343,6 @@ POD3+= ssl/SSL_CIPHER_get_name.pod \
.for pod in ${POD${section}}
.for target in ${pod:T:S/.pod/.${section}/g}
MAN+= ${target}
CLEANFILES+= ${target}
${target}: ${LCRYPTO_SRC}/../doc/${pod}
pod2man ${LCRYPTO_SRC}/../doc/${pod} > ${target}
.endfor
.endfor
.endfor

View File

@ -3,7 +3,7 @@
OPENSSL_SRC= ${.CURDIR}/../../../crypto/openssl/apps
LCRYPTO_SRC= ${.CURDIR}/../../../crypto/openssl/crypto
.PATH: ${OPENSSL_SRC} ${OPENSSL_SRC}/../doc/apps/
.PATH: ${OPENSSL_SRC} ${.CURDIR}/../../lib/libcrypto/man
PROG= openssl
@ -27,11 +27,4 @@ SRCS= app_rand.c apps.c asn1pars.c ca.c ciphers.c crl.c crl2p7.c \
s_server.c s_socket.c s_time.c sess_id.c smime.c speed.c \
spkac.c verify.c version.c x509.o
CLEANFILES= openssl.1
.include <bsd.prog.mk>
.SUFFIXES: .out .o .c .cc .cpp .cxx .C .m .y .l .s .S .pod
.pod.1:
pod2man ${.IMPSRC} > ${.TARGET}