1 # $NetBSD: Makefile,v 1.14 2005/11/25 21:09:34 christos Exp $
3 # the makefile is not, and should not be visited during normal build process.
4 # try to use latest pod2man, which comes with the latest perl.
6 # XXX: remove .UC lines
9 CRYPTODIST
= ${NETBSDSRCDIR}/crypto
10 .
include "${NETBSDSRCDIR}/crypto/Makefile.openssl"
12 VERSION
!= grep VERSION
${OPENSSLSRC}/Makefile | head
-1 | sed
-e
's/VERSION=//'
15 for i in
${OPENSSLSRC}/doc
/apps
/*.pod
; do \
16 fn
=`basename $$i .pod`; \
17 if
[ "$$fn" = "config" ]; then \
19 dst
=openssl.cnf.
$$sec; \
20 elif
[ "$$fn" = "openssl" ]; then \
22 dst
=`basename $$i .pod`.
$$sec; \
25 dst
=openssl_
`basename $$i .pod`.
$$sec; \
28 pod2man
--section
=$$sec --center
=OpenSSL
--release
=${VERSION} \
30 perl libcrypto.pl
>$$dst; \
32 for i in
${OPENSSLSRC}/doc
/crypto
/*.pod \
33 ${OPENSSLSRC}/doc
/ssl
/*.pod
; do \
34 fn
=`basename $$i .pod`; \
35 if
[ "$$fn" = "des_modes" ]; then \
38 pod2man
--section
=$$sec --center
=OpenSSL
--release
=${VERSION} \
39 `basename $$i`) | sed
-e
'/$$RCSfile/d' -e
'/$$Log/d' > `basename $$i .pod`.
$$sec; \
43 pod2man
--section
=$$sec --center
=OpenSSL
--release
=${VERSION} \
45 perl libcrypto.pl
>`basename $$i .pod`.
$$sec; \
48 for i in bio blowfish bn bn_internal buffer des dh ecdsa \
50 evp hmac lhash md5 mdc2 pem rand rc4 ripemd rsa \
51 sha threads ui ui_compat x509
; do \
52 mv
$$i.3 openssl_
$$i.3; \