Date: Sun, 11 Nov 2007 13:22:44 -0500 From: Chuck Robey <chuckr@chuckr.org> To: "[LoN]Kamikaze" <LoN_Kamikaze@gmx.de> Cc: Le Cocq Michel <Michel.Lecocq@lipn.univ-paris13.fr>, freebsd-questions@freebsd.org Subject: Re: make configure vs first make Message-ID: <47374874.7030006@chuckr.org> In-Reply-To: <4736E9F8.7090107@gmx.de> References: <4736E080.6060401@lipn.univ-paris13.fr> <4736E758.3060402@infracaninophile.co.uk> <4736E8B7.400@lipn.univ-paris13.fr> <4736E9F8.7090107@gmx.de>
next in thread | previous in thread | raw e-mail | index | archive | help
[LoN]Kamikaze wrote: > Le Cocq Michel wrote: >> Matthew Seaman a écrit : >>> That's because you need to do: >>> >>> make config >>> >>> which has a very different effect to 'make configure.' >>> >>> Matthew >>> >> can you explain the != ? >> >> thanks >> >> Michel > > make configure > runs the configure build stage if the port has one. > > make config > calls the config dialogue Use 'make rmconfig' it wipes out the stored options. Look into the Makefile for lines specifying options "OPTIONS=" Oh, yeah, the != (which is documented in the make(7) man page, which is a very good document) means, send the text in that defition to the shell, and set the variable to whatever the shell returns, like MYNAME != echo $$USER (you need the two dollar signs, because you want the dollar sign to get to the shell, but Make itself will eat the first one, so send two of them to get one out to the shell.) You know one great way to learn make? in ports, directory Mk, is a bunch of make template files, and the one named bsd.port.mk is a fantastic doument that clearly illustrates just about every good method that's available in BSD's make. BSD's make is a very, very good one, too. Greatly different than the GNU make. _______________________________________________ > 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?47374874.7030006>