On Sun, May 27, 2012 at 10:18:27PM +0200, John Marino wrote:
> >
> > > If I type "make -n" or "bmake -n" in the subdir, the executable is
> > > created as would be expected. Bypassing the wrapper for
> > > "/usr/bin/make -n" has the same result.
> >
> >Hrm. Is the problem that the top-level makefile isn't recursing into
> >the subdir?
>
> It is going into the subdir. The hack only does the final linking;
> the subdir's makefile created the object files.
Ok, that really makes no sense.
...nor does this, which I'm now(?) seeing in my test environment:
install ===> pfstatd
/usr/bin/install -c -s -o pbuild -g pkgbulk -m 755
/home/pkgbulk/c/obj/sysutils/pfstat/work/pfstat-2.5/pfstatd/../pfstatd
/home/pkgbulk/c/obj/sysutils/pfstat/work/.destdir/home/pkgbulk/b/pkg/bin/pfstatd
install:
/home/pkgbulk/c/obj/sysutils/pfstat/work/pfstat-2.5/pfstatd/../pfstatd: not a
regular file
*** Error code 1