Index: head/sys/boot/Makefile =================================================================== --- head/sys/boot/Makefile +++ head/sys/boot/Makefile @@ -8,6 +8,8 @@ SUBDIR+= forth .endif +SUBDIR+= common + .include # Pick the machine-dependent subdir based on the target architecture. Index: head/sys/boot/common/Makefile =================================================================== --- head/sys/boot/common/Makefile +++ head/sys/boot/common/Makefile @@ -0,0 +1,10 @@ +# $FreeBSD$ + +.include + +MAN+= loader.8 +.if ${MK_ZFS} != "no" +MAN+= zfsloader.8 +.endif + +.include Index: head/sys/boot/common/Makefile.inc =================================================================== --- head/sys/boot/common/Makefile.inc +++ head/sys/boot/common/Makefile.inc @@ -68,8 +68,3 @@ SRCS+= install.c CFLAGS+=-I${.CURDIR}/../../../../lib/libstand .endif - -MAN+= loader.8 -.if ${MK_ZFS} != "no" -MAN+= zfsloader.8 -.endif Index: head/sys/boot/i386/loader/Makefile =================================================================== --- head/sys/boot/i386/loader/Makefile +++ head/sys/boot/i386/loader/Makefile @@ -5,6 +5,7 @@ LOADER?= loader PROG= ${LOADER}.sym +MAN= INTERNALPROG= NEWVERSWHAT?= "bootstrap loader" x86