diff options
author | schwarze <> | 2016-11-05 15:01:54 +0000 |
---|---|---|
committer | schwarze <> | 2016-11-05 15:01:54 +0000 |
commit | 295aa404cc84d16f9fe523312a77bab3379562a4 (patch) | |
tree | f45911a7a9e85b11967385fdaab11aa744044248 /src/lib/libssl/doc/Makefile | |
parent | adb72aa0e0ceb7ed3651bd3410f1509d77ad825e (diff) | |
download | openbsd-295aa404cc84d16f9fe523312a77bab3379562a4.tar.gz openbsd-295aa404cc84d16f9fe523312a77bab3379562a4.tar.bz2 openbsd-295aa404cc84d16f9fe523312a77bab3379562a4.zip |
after getting rid of the pod files, clean up the Makefiles; ok bcook@
Diffstat (limited to '')
-rw-r--r-- | src/lib/libssl/doc/Makefile (renamed from src/lib/libssl/man/Makefile) | 32 |
1 files changed, 7 insertions, 25 deletions
diff --git a/src/lib/libssl/man/Makefile b/src/lib/libssl/doc/Makefile index e30d3fbb42..dfe4e7b3cb 100644 --- a/src/lib/libssl/man/Makefile +++ b/src/lib/libssl/doc/Makefile | |||
@@ -1,12 +1,8 @@ | |||
1 | # $OpenBSD: Makefile,v 1.34 2016/09/03 12:42:45 beck Exp $ | 1 | # $OpenBSD: Makefile,v 1.1 2016/11/05 15:01:54 schwarze Exp $ |
2 | 2 | ||
3 | .include <bsd.own.mk> # for NOMAN | 3 | .include <bsd.own.mk> |
4 | 4 | ||
5 | POD2MAN=pod2man --official --release="OpenBSD ${OSREV}" --center=OpenSSL | 5 | MAN = BIO_f_ssl.3 \ |
6 | |||
7 | .ifndef NOMAN | ||
8 | MAN= \ | ||
9 | BIO_f_ssl.3 \ | ||
10 | SSL_CIPHER_get_name.3 \ | 6 | SSL_CIPHER_get_name.3 \ |
11 | SSL_COMP_add_compression_method.3 \ | 7 | SSL_COMP_add_compression_method.3 \ |
12 | SSL_CTX_add_extra_chain_cert.3 \ | 8 | SSL_CTX_add_extra_chain_cert.3 \ |
@@ -88,24 +84,10 @@ MAN= \ | |||
88 | SSL_want.3 \ | 84 | SSL_want.3 \ |
89 | SSL_write.3 \ | 85 | SSL_write.3 \ |
90 | d2i_SSL_SESSION.3 \ | 86 | d2i_SSL_SESSION.3 \ |
91 | ssl.3 \ | 87 | ssl.3 |
92 | |||
93 | .include <bsd.man.mk> | ||
94 | .else | ||
95 | maninstall: | ||
96 | 88 | ||
97 | .endif | 89 | all clean cleandir depend includes obj tags: |
98 | 90 | ||
99 | .PATH: ${.CURDIR}/../doc | 91 | install: maninstall |
100 | .SUFFIXES: .pod .1 .3 .7 | ||
101 | .for sect in 1 3 7 | ||
102 | .pod.${sect}: | ||
103 | @echo '${POD2MAN} --section=${sect} --name=${*:U} $< > $@' | ||
104 | @${POD2MAN} --section=${sect} --name=${*:U} $< > $@.tmp && mv $@.tmp $@ | ||
105 | .endfor | ||
106 | 92 | ||
107 | .include <bsd.obj.mk> | 93 | .include <bsd.man.mk> |
108 | .include <bsd.subdir.mk> | ||
109 | |||
110 | clean cleandir: | ||
111 | rm -f ${MAN} | ||