build system to DESTDIR

Mel fbsd.questions at rachie.is-a-geek.net
Fri Jul 11 12:01:13 UTC 2008


On Friday 11 July 2008 11:08:04 iiv at dom.raid.ru wrote:
> To build system for the diskless station, whether there are
> differences between:
>
> [in script]
> #!/bin/sh
> export DESTDIR=/usr/diskless
> cd /usr/src; make buildworld
>
> and
>
> [in csh]
> # setenv DESTDIR /usr/diskless
> # cd /usr/src
> # make buildworld

There should not be a difference, but to rule out any shell issues, it is best 
to invoke:
make buildworld DESTDIR=/usr/diskless

Make itself then handles the variable.

-- 
Mel

Problem with today's modular software: they start with the modules
    and never get to the software part.


More information about the freebsd-questions mailing list