Subject: Re: make includes
To: None <current-users@netbsd.org>
From: Andrei Petrov <and@genesyslab.com>
List: current-users
Date: 11/09/2000 10:29:50
beforeinstall does exactly what I need.
make build expects that you have the whole src/ and
fails if you have them separately i.e basesrc,sharesrc.
Thank you,
Andrey
On Thu, 9 Nov 2000, Ignatios Souvatzis wrote:
> On Wed, Nov 08, 2000 at 07:02:08PM -0800, Andrei Petrov wrote:
> >
> > make includes, when issued in basesrc, when you don't have corresponding
> > directory tree failes due to subdirectory is not created.
> > Is that made on purpose or are there other targets which should
> > be used to create that tree?
>
> I'm not fully awake, but look at this from /usr/src/Makefile:
>
> beforeinstall:
> .ifndef NODISTRIBDIRS
> .ifndef DESTDIR
> (cd ${.CURDIR}/etc && ${MAKE} DESTDIR=/ distrib-dirs)
> .else
> (cd ${.CURDIR}/etc && ${MAKE} distrib-dirs)
> .endif
> .endif
>
> I think you want this. (Or just use the full "make build".)
>
> Regards,
> -is
>