diff --git a/share/mk/bsd.progs.mk b/share/mk/bsd.progs.mk --- a/share/mk/bsd.progs.mk +++ b/share/mk/bsd.progs.mk @@ -155,6 +155,7 @@ NO_SUBDIR=1 ${MAKE} -f ${MAKEFILE} _RECURSING_PROGS=t \ ${_PROG_MK.${t}} PROG=$p ${x.$p} ${@:E}) .endfor +.ORDER installdirs $p.install .endfor # Depend main pseudo targets on all PROG.pseudo targets too.