aboutsummaryrefslogtreecommitdiff
path: root/stand/man
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2021-07-14 13:54:44 +0000
committerWarner Losh <imp@FreeBSD.org>2021-07-14 14:33:01 +0000
commit29c8295312dc5eef8a0573bccdacd56167859cb2 (patch)
tree3fc9b51d8ad221e9ddc19b213b16578727d5500a /stand/man
parentf5998d20ed80fdc1cb3ba0c245cae5f179e22fe2 (diff)
downloadsrc-29c8295312dc5eef8a0573bccdacd56167859cb2.tar.gz
src-29c8295312dc5eef8a0573bccdacd56167859cb2.zip
loader: small Makefile style change
Move to using M.${option} and M.yes to collecting man pages to install. Sponsored by: Netflix
Diffstat (limited to 'stand/man')
-rw-r--r--stand/man/Makefile12
1 files 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>