configure the fossil sources to go to a directory that doesn't have a bin subdirectory. The install target will then copy fossil into $TARGET/bin -- which ends up being the fossil binary. So the installed version then is $TARGET/bin, an executable, not Also ISTM $TARGET isn't created if it doesn't exist. I guess it couldn't hurt to use install(1) for the installation to have directories created in one step, too (install -d, although I don't know how portable that is)