diff --git a/Mk/Uses/imake.mk b/Mk/Uses/imake.mk index f4db9beb2814..8f0fdef8a2e3 100644 --- a/Mk/Uses/imake.mk +++ b/Mk/Uses/imake.mk @@ -38,15 +38,15 @@ MAKE_ENV+= IMAKECPP=${IMAKECPP} IMAKECPPFLAGS="${IMAKECPPFLAGS}" CONFIGURE_ENV+= IMAKECPP=${IMAKECPP} IMAKECPPFLAGS="${IMAKECPPFLAGS}" MAKE_ARGS+= IMAKE_DEFINES="${IMAKECPPFLAGS}" +.if !defined(NO_INSTALL_MANPAGES) +LATE_INSTALL_ARGS= install.man +.endif + .if !defined(IMAKE_ENV_ONLY) .if !target(do-configure) do-configure: @(cd ${CONFIGURE_WRKSRC}; ${SETENV} ${MAKE_ENV} ${XMKMF}) .endif - -.if !defined(NO_INSTALL_MANPAGES) -LATE_INSTALL_ARGS= install.man -.endif .endif .endif