Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 May 2004 19:50:26 +0200
From:      Android66 <android.66@volja.net>
To:        Antoine Jacoutot <ajacoutot@lphp.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: The correct way to run "make"
Message-ID:  <40A506E2.4070709@volja.net>
In-Reply-To: <200405141926.40456.ajacoutot@lphp.org>
References:  <200405141317.12923.fbsd-questions@trini0.org> <200405141926.40456.ajacoutot@lphp.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Often you need to specify values, like for postgresql:

make PREFIX=/some/other/dir

And here's another question. I always use the same options for make, 
make install and make clean, ie:

make PREFIX=/some/other/dir
make PREFIX=/some/other/dir install
make PREFIX=/some/other/dir clean

This is because I noticed that some ports (I forgot which one I was 
having this experience with) need these options in order to install and 
clean correctly as they generate the package name based on the options 
specified. Is what I'm doing OK or is there another, 
beter/simpler/easier way to do it?


Antoine Jacoutot wrote:
> On Friday 14 May 2004 19:17, Gerard Samuel wrote:
> 
>>a)  make --SOMEOPTION=yes
>>b)  make --SOMEOPTION=yes
>>c)  make SOMEOPTION=yes
> 
> 
> I'm not sure there's an "official way", but I think you can use whatever:
> 
> make -DOPTION
> make OPTION=1
> make OPTION=yes
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40A506E2.4070709>