Date: Fri, 11 Jul 2008 14:01:11 +0200 From: Mel <fbsd.questions@rachie.is-a-geek.net> To: freebsd-questions@freebsd.org Cc: iiv@dom.raid.ru Subject: Re: build system to DESTDIR Message-ID: <200807111401.11516.fbsd.questions@rachie.is-a-geek.net> In-Reply-To: <50440.10.90.34.181.1215767284.squirrel@dom.raid.ru> References: <50440.10.90.34.181.1215767284.squirrel@dom.raid.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 11 July 2008 11:08:04 iiv@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807111401.11516.fbsd.questions>
