summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/man/Makefile')
-rw-r--r--src/lib/libcrypto/man/Makefile41
1 files changed, 13 insertions, 28 deletions
diff --git a/src/lib/libcrypto/man/Makefile b/src/lib/libcrypto/man/Makefile
index 7819029ff6..81840a0b29 100644
--- a/src/lib/libcrypto/man/Makefile
+++ b/src/lib/libcrypto/man/Makefile
@@ -1,9 +1,7 @@
1# $OpenBSD: Makefile,v 1.47 2016/11/04 18:07:23 beck Exp $ 1# $OpenBSD: Makefile,v 1.48 2016/11/05 13:36:33 schwarze Exp $
2 2
3.include <bsd.own.mk> # for NOMAN 3.include <bsd.own.mk> # for NOMAN
4 4
5POD2MAN=pod2man --official --release="OpenBSD ${OSREV}" --center=OpenSSL
6
7.ifndef NOMAN 5.ifndef NOMAN
8MAN= \ 6MAN= \
9 ASN1_OBJECT_new.3 \ 7 ASN1_OBJECT_new.3 \
@@ -138,6 +136,8 @@ MAN= \
138 RAND_cleanup.3 \ 136 RAND_cleanup.3 \
139 RAND_load_file.3 \ 137 RAND_load_file.3 \
140 RAND_set_rand_method.3 \ 138 RAND_set_rand_method.3 \
139 RC4.3 \
140 RIPEMD160.3 \
141 RSA_blinding_on.3 \ 141 RSA_blinding_on.3 \
142 RSA_check_key.3 \ 142 RSA_check_key.3 \
143 RSA_generate_key.3 \ 143 RSA_generate_key.3 \
@@ -151,6 +151,7 @@ MAN= \
151 RSA_sign.3 \ 151 RSA_sign.3 \
152 RSA_sign_ASN1_OCTET_STRING.3 \ 152 RSA_sign_ASN1_OCTET_STRING.3 \
153 RSA_size.3 \ 153 RSA_size.3 \
154 SHA1.3 \
154 SMIME_read_PKCS7.3 \ 155 SMIME_read_PKCS7.3 \
155 SMIME_write_PKCS7.3 \ 156 SMIME_write_PKCS7.3 \
156 UI_new.3 \ 157 UI_new.3 \
@@ -166,9 +167,13 @@ MAN= \
166 X509_VERIFY_PARAM_set_flags.3 \ 167 X509_VERIFY_PARAM_set_flags.3 \
167 X509_new.3 \ 168 X509_new.3 \
168 X509_verify_cert.3 \ 169 X509_verify_cert.3 \
170 bn.3 \
169 bn_dump.3 \ 171 bn_dump.3 \
170 crypto.3 \ 172 crypto.3 \
171 d2i_ASN1_OBJECT.3 \ 173 d2i_ASN1_OBJECT.3 \
174 d2i_DHparams.3 \
175 d2i_DSAPublicKey.3 \
176 d2i_ECPKParameters.3 \
172 d2i_PKCS8PrivateKey_bio.3 \ 177 d2i_PKCS8PrivateKey_bio.3 \
173 d2i_RSAPublicKey.3 \ 178 d2i_RSAPublicKey.3 \
174 d2i_X509.3 \ 179 d2i_X509.3 \
@@ -178,27 +183,16 @@ MAN= \
178 d2i_X509_REQ.3 \ 183 d2i_X509_REQ.3 \
179 d2i_X509_SIG.3 \ 184 d2i_X509_SIG.3 \
180 des_read_pw.3 \ 185 des_read_pw.3 \
181 evp.3 \
182 i2d_PKCS7_bio_stream.3 \
183 lh_new.3 \
184 rsa.3 \
185 x509.3
186
187GENMAN= \
188 RC4.3 \
189 RIPEMD160.3 \
190 SHA1.3 \
191 bn.3 \
192 d2i_DHparams.3 \
193 d2i_DSAPublicKey.3 \
194 d2i_ECPKParameters.3 \
195 dh.3 \ 186 dh.3 \
196 dsa.3 \ 187 dsa.3 \
197 ec.3 \ 188 ec.3 \
198 engine.3 \ 189 engine.3 \
190 evp.3 \
191 i2d_PKCS7_bio_stream.3 \
192 lh_new.3 \
199 lh_stats.3 \ 193 lh_stats.3 \
200 194 rsa.3 \
201MAN+= ${GENMAN} 195 x509.3
202 196
203.include <bsd.man.mk> 197.include <bsd.man.mk>
204.else 198.else
@@ -206,16 +200,7 @@ maninstall:
206 200
207.endif 201.endif
208 202
209.PATH: ${.CURDIR}/../doc
210.SUFFIXES: .pod .1 .3 .7
211.for sect in 1 3 7
212.pod.${sect}:
213 @echo '${POD2MAN} --section=${sect} --name=${*:U} $< > $@'
214 @${POD2MAN} --section=${sect} --name=${*:U} $< > $@.tmp && mv $@.tmp $@
215.endfor
216
217.include <bsd.obj.mk> 203.include <bsd.obj.mk>
218.include <bsd.subdir.mk> 204.include <bsd.subdir.mk>
219 205
220clean cleandir: 206clean cleandir:
221 rm -f ${GENMAN}