Date: Wed, 14 Jul 2021 14:33:21 GMT From: Warner Losh <imp@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 29c8295312dc - main - loader: small Makefile style change Message-ID: <202107141433.16EEXLn1071614@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=29c8295312dc5eef8a0573bccdacd56167859cb2 commit 29c8295312dc5eef8a0573bccdacd56167859cb2 Author: Warner Losh <imp@FreeBSD.org> AuthorDate: 2021-07-14 13:54:44 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2021-07-14 14:33:01 +0000 loader: small Makefile style change Move to using M.${option} and M.yes to collecting man pages to install. Sponsored by: Netflix --- stand/man/Makefile | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/stand/man/Makefile b/stand/man/Makefile index 5dbdc52183bd..d5e7ad791ffb 100644 --- a/stand/man/Makefile +++ b/stand/man/Makefile @@ -2,12 +2,10 @@ .include <bsd.init.mk> -.if ${MK_EFI} != "no" -MAN+= boot1.efi.8 -.endif -MAN+= loader.8 -.if ${MK_EFI} != "no" -MAN+= loader.efi.8 -.endif +M.${MK_EFI}+= boot1.efi.8 +M.yes+= loader.8 +M.${MK_EFI}+= loader.efi.8 + +MAN=${M.yes} .include <bsd.prog.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107141433.16EEXLn1071614>