diff options
author | Daniel Dickman <daniel@cvs.openbsd.org> | 2019-09-08 17:13:45 +0000 |
---|---|---|
committer | Daniel Dickman <daniel@cvs.openbsd.org> | 2019-09-08 17:13:45 +0000 |
commit | 0f0d7772f11aabeda058d9c69998ac661def30b8 (patch) | |
tree | 7d84837d857607c7ca147ab7082c02525853b7c9 /share/man | |
parent | 220732b0f70433b2379d56a0aaa03008f109cd58 (diff) |
Only install the gcc-local(1) and clang-local(1) man pages if we also have
the corresponding compiler on a given platform.
ok deraadt@
Diffstat (limited to 'share/man')
-rw-r--r-- | share/man/man1/Makefile | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/share/man/man1/Makefile b/share/man/man1/Makefile index f738f287a48..e8694144358 100644 --- a/share/man/man1/Makefile +++ b/share/man/man1/Makefile @@ -1,7 +1,16 @@ -# $OpenBSD: Makefile,v 1.14 2018/07/10 09:05:47 espie Exp $ +# $OpenBSD: Makefile,v 1.15 2019/09/08 17:13:44 daniel Exp $ # $NetBSD: Makefile,v 1.4 1994/12/22 10:48:04 cgd Exp $ -MAN= clang-local.1 help.1 intro.1 gcc-local.1 +.include <bsd.own.mk> + +MAN= help.1 intro.1 + +.if ${BUILD_CLANG:L} == "yes" +MAN += clang-local.1 +.endif +.if ${BUILD_GCC3:L} == "yes" || ${BUILD_GCC4:L} == "yes" +MAN += gcc-local.1 +.endif # ports tools doc MAN+= check-lib-depends.1 clean-old-distfiles.1 dpb-replay.1 dpb.1 \ |