simply use dobin. this equals exeinto /usr/bin && doexe foo.