Under OpenSSH-3.7.1p1, "make clean" fails with the following error when building outside of the source tree: roth@coredump:/scratch/os/obj> make clean rm -f *.o *.a ssh sshd ssh-add ssh-keygen ssh-keyscan ssh-keysign ssh-agent scp ssh-rand-helper sftp-server sftp logintest config.cache config.log rm -f *.out core (cd openbsd-compat && gmake clean) gmake[1]: Entering directory `/services/scratch/os/obj/openbsd-compat' rm -f *.o *.a core gmake[1]: Leaving directory `/services/scratch/os/obj/openbsd-compat' (cd regress && gmake clean) /bin/sh: regress: does not exist gmake: *** [clean] Error 1 The problem seems to be that the "regress" subdirectory only exists in the source tree, not the build tree. This may also be a problem for the "distclean" target.
Created attachment 403 [details] Fix "make clean" target Unfortunately the fix for this did not make the tree before 3.7
Thanks for the report, the patch has been applied to HEAD and the 3.7 branch.
Mass change of RESOLVED bugs to CLOSED