loader: small Makefile style change

Move to using M.${option} and M.yes to collecting man pages to install.

Sponsored by:		Netflix
This commit is contained in:
Warner Losh 2021-07-14 07:54:44 -06:00
parent f5998d20ed
commit 29c8295312

View File

@ -2,12 +2,10 @@
.include <bsd.init.mk> .include <bsd.init.mk>
.if ${MK_EFI} != "no" M.${MK_EFI}+= boot1.efi.8
MAN+= boot1.efi.8 M.yes+= loader.8
.endif M.${MK_EFI}+= loader.efi.8
MAN+= loader.8
.if ${MK_EFI} != "no" MAN=${M.yes}
MAN+= loader.efi.8
.endif
.include <bsd.prog.mk> .include <bsd.prog.mk>