aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>