diff options
| author | espie <> | 2004-02-09 18:31:19 +0000 |
|---|---|---|
| committer | espie <> | 2004-02-09 18:31:19 +0000 |
| commit | f40dac23396a8c0d8c9cac35ba40a92cb4b58852 (patch) | |
| tree | 0820d802ced64d4af5b67b5aa0e579de6a783a77 | |
| parent | c8a257b0f00cc793776df87778a1f88bfa4ccc7e (diff) | |
| download | openbsd-f40dac23396a8c0d8c9cac35ba40a92cb4b58852.tar.gz openbsd-f40dac23396a8c0d8c9cac35ba40a92cb4b58852.tar.bz2 openbsd-f40dac23396a8c0d8c9cac35ba40a92cb4b58852.zip | |
simpler ssl manpages, using --name=.
okay markus@
| -rw-r--r-- | src/lib/libssl/man/Makefile | 150 |
1 files changed, 33 insertions, 117 deletions
diff --git a/src/lib/libssl/man/Makefile b/src/lib/libssl/man/Makefile index 0eb914ea26..5cace2fd36 100644 --- a/src/lib/libssl/man/Makefile +++ b/src/lib/libssl/man/Makefile | |||
| @@ -1,7 +1,10 @@ | |||
| 1 | # $OpenBSD: Makefile,v 1.6 2004/01/23 17:02:25 hshoexer Exp $ | 1 | # $OpenBSD: Makefile,v 1.7 2004/02/09 18:31:19 espie Exp $ |
| 2 | 2 | ||
| 3 | .include <bsd.own.mk> # for NOMAN | 3 | .include <bsd.own.mk> # for NOMAN |
| 4 | 4 | ||
| 5 | |||
| 6 | POD2MAN=pod2man --official --release="OpenBSD ${OSREV}" --center=OpenSSL | ||
| 7 | |||
| 5 | .ifndef NOMAN | 8 | .ifndef NOMAN |
| 6 | MANALL= \ | 9 | MANALL= \ |
| 7 | BN_CTX_new.cat3 \ | 10 | BN_CTX_new.cat3 \ |
| @@ -200,93 +203,21 @@ PSALL= ${MANALL:S/.cat1/.ps1/g:S/.cat2/.ps2/g:S/.cat3/.ps3/g:S/.cat4/.ps4/g:S/.c | |||
| 200 | 203 | ||
| 201 | # buffer.pod -> BUF_MEM_new.pod | 204 | # buffer.pod -> BUF_MEM_new.pod |
| 202 | # BUF_MEM_free BUF_MEM_grow BUF_strdup | 205 | # BUF_MEM_free BUF_MEM_grow BUF_strdup |
| 203 | BUF_MEM_new.cat3: buffer.pod | ||
| 204 | ( cp ${.ALLSRC} BUF_MEM_new.pm && pod2man --section=3 --official \ | ||
| 205 | --center='OpenSSL' --release="OpenBSD `uname -r`" \ | ||
| 206 | BUF_MEM_new.pm ) | nroff -Tascii -man > ${.TARGET} | ||
| 207 | .if MANPS | ||
| 208 | BUF_MEM_new.ps3: buffer.pod | ||
| 209 | ( cp ${.ALLSRC} BUF_MEM_new.pm && pod2man --section=3 --official \ | ||
| 210 | --center='OpenSSL' --release="OpenBSD `uname -r`" \ | ||
| 211 | BUF_MEM_new.pm ) | nroff -Tps -man > ${.TARGET} | ||
| 212 | .endif | ||
| 213 | 206 | ||
| 214 | # rc4.pod -> RC4.pod | 207 | # rc4.pod -> RC4.pod |
| 215 | # RC4_set_key | 208 | # RC4_set_key |
| 216 | RC4.cat3: rc4.pod | ||
| 217 | ( cp ${.ALLSRC} RC4.pm && pod2man --section=3 --official \ | ||
| 218 | --center='OpenSSL' --release="OpenBSD `uname -r`" \ | ||
| 219 | RC4.pm ) | nroff -Tascii -man > ${.TARGET} | ||
| 220 | .if MANPS | ||
| 221 | RC4.ps3: rc4.pod | ||
| 222 | ( cp ${.ALLSRC} RC4.pm && pod2man --section=3 --official \ | ||
| 223 | --center='OpenSSL' --release="OpenBSD `uname -r`" \ | ||
| 224 | RC4.pm ) | nroff -Tps -man > ${.TARGET} | ||
| 225 | .endif | ||
| 226 | 209 | ||
| 227 | # threads.pod -> CRYPTO_set_locking_callback.pod | 210 | # threads.pod -> CRYPTO_set_locking_callback.pod |
| 228 | # CRYPTO_set_id_callback CRYPTO_num_locks | 211 | # CRYPTO_set_id_callback CRYPTO_num_locks |
| 229 | CRYPTO_set_locking_callback.cat3: threads.pod | ||
| 230 | ( cp ${.ALLSRC} CRYPTO_set_locking_callback.pm && \ | ||
| 231 | pod2man --section=3 --official \ | ||
| 232 | --center='OpenSSL' --release="OpenBSD `uname -r`" \ | ||
| 233 | CRYPTO_set_locking_callback.pm ) | nroff -Tascii -man > ${.TARGET} | ||
| 234 | .if MANPS | ||
| 235 | CRYPTO_set_locking_callback.ps3: threads.pod | ||
| 236 | ( cp ${.ALLSRC} CRYPTO_set_locking_callback.pm && \ | ||
| 237 | pod2man --section=3 --official \ | ||
| 238 | --center='OpenSSL' --release="OpenBSD `uname -r`" \ | ||
| 239 | CRYPTO_set_locking_callback.pm ) | nroff -Tps -man > ${.TARGET} | ||
| 240 | .endif | ||
| 241 | 212 | ||
| 242 | # ripemd.pod -> RIPEMD160.pod | 213 | # ripemd.pod -> RIPEMD160.pod |
| 243 | # RIPEMD160_Init RIPEMD160_Update RIPEMD160_Final | 214 | # RIPEMD160_Init RIPEMD160_Update RIPEMD160_Final |
| 244 | RIPEMD160.cat3: ripemd.pod | ||
| 245 | ( cp ${.ALLSRC} RIPEMD160.pm && pod2man --section=3 --official \ | ||
| 246 | --center='OpenSSL' --release="OpenBSD `uname -r`" \ | ||
| 247 | RIPEMD160.pm ) | nroff -Tascii -man > ${.TARGET} | ||
| 248 | .if MANPS | ||
| 249 | RIPEMD160.ps3: ripemd.pod | ||
| 250 | ( cp ${.ALLSRC} RIPEMD160.pm && pod2man --section=3 --official \ | ||
| 251 | --center='OpenSSL' --release="OpenBSD `uname -r`" \ | ||
| 252 | RIPEMD160.pm ) | nroff -Tps -man > ${.TARGET} | ||
| 253 | .endif | ||
| 254 | 215 | ||
| 255 | # sha.pod -> SHA1.pod | 216 | # sha.pod -> SHA1.pod |
| 256 | SHA1.cat3: sha.pod | ||
| 257 | ( cp ${.ALLSRC} SHA1.pm && pod2man --section=3 --official \ | ||
| 258 | --center='OpenSSL' --release="OpenBSD `uname -r`" \ | ||
| 259 | SHA1.pm ) | nroff -Tascii -man > ${.TARGET} | ||
| 260 | .if MANPS | ||
| 261 | SHA1.ps3: sha.pod | ||
| 262 | ( cp ${.ALLSRC} SHA1.pm && pod2man --section=3 --official \ | ||
| 263 | --center='OpenSSL' --release="OpenBSD `uname -r`" \ | ||
| 264 | SHA1.pm ) | nroff -Tps -man > ${.TARGET} | ||
| 265 | .endif | ||
| 266 | 217 | ||
| 267 | # md5.pod -> MD5.pod | 218 | # md5.pod -> MD5.pod |
| 268 | MD5.cat3: md5.pod | ||
| 269 | ( cp ${.ALLSRC} MD5.pm && pod2man --section=3 --official \ | ||
| 270 | --center='OpenSSL' --release="OpenBSD `uname -r`" \ | ||
| 271 | MD5.pm ) | nroff -Tascii -man > ${.TARGET} | ||
| 272 | .if MANPS | ||
| 273 | MD5.ps3: md5.pod | ||
| 274 | ( cp ${.ALLSRC} MD5.pm && pod2man --section=3 --official \ | ||
| 275 | --center='OpenSSL' --release="OpenBSD `uname -r`" \ | ||
| 276 | MD5.pm ) | nroff -Tps -man > ${.TARGET} | ||
| 277 | .endif | ||
| 278 | 219 | ||
| 279 | # hmac.pod -> HMAC.pod | 220 | # hmac.pod -> HMAC.pod |
| 280 | HMAC.cat3: hmac.pod | ||
| 281 | ( cp ${.ALLSRC} HMAC.pm && pod2man --section=3 --official \ | ||
| 282 | --center='OpenSSL' --release="OpenBSD `uname -r`" \ | ||
| 283 | HMAC.pm ) | nroff -Tascii -man > ${.TARGET} | ||
| 284 | .if MANPS | ||
| 285 | HMAC.ps3: hmac.pod | ||
| 286 | ( cp ${.ALLSRC} HMAC.pm && pod2man --section=3 --official \ | ||
| 287 | --center='OpenSSL' --release="OpenBSD `uname -r`" \ | ||
| 288 | HMAC.pm ) | nroff -Tps -man > ${.TARGET} | ||
| 289 | .endif | ||
| 290 | 221 | ||
| 291 | # des.pod -> des_random_key, des_set_key, des_key_sched, des_set_key_checked, | 222 | # des.pod -> des_random_key, des_set_key, des_key_sched, des_set_key_checked, |
| 292 | # des_set_key_unchecked, des_set_odd_parity, des_is_weak_key, des_ecb_encrypt, | 223 | # des_set_key_unchecked, des_set_odd_parity, des_is_weak_key, des_ecb_encrypt, |
| @@ -298,16 +229,26 @@ HMAC.ps3: hmac.pod | |||
| 298 | # des_read_2passwords, des_read_pw_string, des_cbc_cksum, des_quad_cksum, | 229 | # des_read_2passwords, des_read_pw_string, des_cbc_cksum, des_quad_cksum, |
| 299 | # des_string_to_key, des_string_to_2keys, des_fcrypt, des_crypt, | 230 | # des_string_to_key, des_string_to_2keys, des_fcrypt, des_crypt, |
| 300 | # des_enc_read, des_enc_write | 231 | # des_enc_read, des_enc_write |
| 301 | des_random_key.cat3: des.pod | 232 | |
| 302 | ( cp ${.ALLSRC} des_random_key.pm && pod2man --section=3 --official \ | 233 | .for page src in \ |
| 303 | --center='OpenSSL' --release="OpenBSD `uname -r`" \ | 234 | BUF_MEM_new buffer \ |
| 304 | des_random_key.pm ) | nroff -Tascii -man > ${.TARGET} | 235 | RC4 rc4 \ |
| 305 | .if MANPS | 236 | CRYPTO_set_locking_callback threads \ |
| 306 | des_random_key.ps3: des.pod | 237 | RIPEMD160 ripemd \ |
| 307 | ( cp ${.ALLSRC} des_random_key.pm && pod2man --section=3 --official \ | 238 | SHA1 sha \ |
| 308 | --center='OpenSSL' --release="OpenBSD `uname -r`" \ | 239 | MD5 md5 \ |
| 309 | des_random_key.pm ) | nroff -Tps -man > ${.TARGET} | 240 | HMAC hmac \ |
| 310 | .endif | 241 | des_random_key des |
| 242 | |||
| 243 | ${page}.cat3: ${src}.pod | ||
| 244 | ${POD2MAN} --section=3 --name=${page:U} ${.ALLSRC} | \ | ||
| 245 | nroff -Tascii -mandoc > ${.TARGET} | ||
| 246 | . if MANPS | ||
| 247 | ${page}.ps3: ${src}.pod | ||
| 248 | ${POD2MAN} --section=3 --name=${page:U} ${.ALLSRC} | \ | ||
| 249 | nroff -Tps -mandoc > ${.TARGET} | ||
| 250 | . endif | ||
| 251 | .endfor | ||
| 311 | 252 | ||
| 312 | MLINKS+=\ | 253 | MLINKS+=\ |
| 313 | BN_CTX_new.3 BN_CTX_free.3 \ | 254 | BN_CTX_new.3 BN_CTX_free.3 \ |
| @@ -840,44 +781,19 @@ maninstall: | |||
| 840 | # XXX .PATH order is critical because of non-unique filenames | 781 | # XXX .PATH order is critical because of non-unique filenames |
| 841 | .PATH: ${.CURDIR}/../src/doc/crypto ${.CURDIR}/../src/doc/ssl ${.CURDIR}/../src/doc/apps | 782 | .PATH: ${.CURDIR}/../src/doc/crypto ${.CURDIR}/../src/doc/ssl ${.CURDIR}/../src/doc/apps |
| 842 | .SUFFIXES: .pod | 783 | .SUFFIXES: .pod |
| 843 | .pod.cat3: | 784 | .for sect in 1 3 7 |
| 844 | ( cd `dirname ${.ALLSRC}` && pod2man --section=3 --official \ | ||
| 845 | --center='OpenSSL' --release="OpenBSD `uname -r`" \ | ||
| 846 | `basename ${.ALLSRC}` ) | nroff -Tascii -man > ${.TARGET} | ||
| 847 | .pod.cat7: | ||
| 848 | ( cd `dirname ${.ALLSRC}` && pod2man --section=7 --official \ | ||
| 849 | --center='OpenSSL' --release="OpenBSD `uname -r`" \ | ||
| 850 | `basename ${.ALLSRC}` ) | nroff -Tascii -man > ${.TARGET} | ||
| 851 | .pod.cat1: | ||
| 852 | ( cd `dirname ${.ALLSRC}` && pod2man --section=1 --official \ | ||
| 853 | --center='OpenSSL' --release="OpenBSD `uname -r`" \ | ||
| 854 | `basename ${.ALLSRC}` ) | nroff -Tascii -man > ${.TARGET} | ||
| 855 | 785 | ||
| 856 | .pod.ps3: | 786 | .pod.cat${sect}: |
| 857 | ( cd `dirname ${.ALLSRC}` && pod2man --section=3 --official \ | 787 | ${POD2MAN} --section=${sect} --name=${*:U} ${.ALLSRC} | \ |
| 858 | --center='OpenSSL' --release="OpenBSD `uname -r`" \ | 788 | nroff -Tascii -mandoc > ${.TARGET} |
| 859 | `basename ${.ALLSRC}` ) | nroff -Tps -man > ${.TARGET} | 789 | |
| 860 | .pod.ps7: | 790 | .pod.ps${sect}: |
| 861 | ( cd `dirname ${.ALLSRC}` && pod2man --section=7 --official \ | 791 | ${POD2MAN} --section=${sect} --name=${*:U} ${.ALLSRC} | \ |
| 862 | --center='OpenSSL' --release="OpenBSD `uname -r`" \ | 792 | nroff -Tps -mandoc > ${.TARGET} |
| 863 | `basename ${.ALLSRC}` ) | nroff -Tps -man > ${.TARGET} | 793 | .endfor |
| 864 | .pod.ps1: | ||
| 865 | ( cd `dirname ${.ALLSRC}` && pod2man --section=1 --official \ | ||
| 866 | --center='OpenSSL' --release="OpenBSD `uname -r`" \ | ||
| 867 | `basename ${.ALLSRC}` ) | nroff -Tps -man > ${.TARGET} | ||
| 868 | 794 | ||
| 869 | .include <bsd.obj.mk> | 795 | .include <bsd.obj.mk> |
| 870 | .include <bsd.subdir.mk> | 796 | .include <bsd.subdir.mk> |
| 871 | 797 | ||
| 872 | CLEANFILES+=\ | ||
| 873 | BUF_MEM_new.pm \ | ||
| 874 | CRYPTO_set_locking_callback.pm \ | ||
| 875 | HMAC.pm \ | ||
| 876 | RC4.pm \ | ||
| 877 | RIPEMD160.pm \ | ||
| 878 | SHA1.pm \ | ||
| 879 | des_random_key.pm \ | ||
| 880 | MD5.pm \ | ||
| 881 | |||
| 882 | clean cleandir: | 798 | clean cleandir: |
| 883 | rm -f ${CLEANFILES} | 799 | rm -f ${CLEANFILES} |
