diff options
| author | schwarze <> | 2016-11-05 15:01:54 +0000 |
|---|---|---|
| committer | schwarze <> | 2016-11-05 15:01:54 +0000 |
| commit | de1d9cac06346c16572b2afab0149c12543e5b2c (patch) | |
| tree | f45911a7a9e85b11967385fdaab11aa744044248 /src/lib/libssl | |
| parent | 48cb83237520da9f806c7eb78b6b85778a0b02bc (diff) | |
| download | openbsd-de1d9cac06346c16572b2afab0149c12543e5b2c.tar.gz openbsd-de1d9cac06346c16572b2afab0149c12543e5b2c.tar.bz2 openbsd-de1d9cac06346c16572b2afab0149c12543e5b2c.zip | |
after getting rid of the pod files, clean up the Makefiles; ok bcook@
Diffstat (limited to 'src/lib/libssl')
| -rw-r--r-- | src/lib/libssl/Makefile | 9 | ||||
| -rw-r--r-- | src/lib/libssl/doc/Makefile (renamed from src/lib/libssl/man/Makefile) | 32 |
2 files changed, 13 insertions, 28 deletions
diff --git a/src/lib/libssl/Makefile b/src/lib/libssl/Makefile index 74d4bc9488..01d7f04036 100644 --- a/src/lib/libssl/Makefile +++ b/src/lib/libssl/Makefile | |||
| @@ -1,13 +1,16 @@ | |||
| 1 | # $OpenBSD: Makefile,v 1.25 2016/11/05 08:12:22 jsing Exp $ | 1 | # $OpenBSD: Makefile,v 1.26 2016/11/05 15:01:54 schwarze Exp $ |
| 2 | |||
| 3 | .include <bsd.own.mk> | ||
| 4 | .ifndef NOMAN | ||
| 5 | SUBDIR= doc | ||
| 6 | .endif | ||
| 2 | 7 | ||
| 3 | SUBDIR= man | ||
| 4 | PC_FILES=openssl.pc libssl.pc | 8 | PC_FILES=openssl.pc libssl.pc |
| 5 | 9 | ||
| 6 | CLEANFILES=${PC_FILES} ${VERSION_SCRIPT} | 10 | CLEANFILES=${PC_FILES} ${VERSION_SCRIPT} |
| 7 | 11 | ||
| 8 | LIB= ssl | 12 | LIB= ssl |
| 9 | 13 | ||
| 10 | .include <bsd.own.mk> | ||
| 11 | CFLAGS+= -Wall -Wundef | 14 | CFLAGS+= -Wall -Wundef |
| 12 | .if ${COMPILER_VERSION:L} != "gcc3" | 15 | .if ${COMPILER_VERSION:L} != "gcc3" |
| 13 | CFLAGS+= -Werror | 16 | CFLAGS+= -Werror |
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} | ||
