From owner-freebsd-ports Mon Apr 26 12:20:46 1999 Delivered-To: freebsd-ports@freebsd.org Received: from picnic.mat.net (picnic.mat.net [206.246.122.133]) by hub.freebsd.org (Postfix) with ESMTP id 59D9514A09 for ; Mon, 26 Apr 1999 12:20:21 -0700 (PDT) (envelope-from chuckr@picnic.mat.net) Received: from localhost (chuckr@localhost) by picnic.mat.net (8.9.3/8.8.5) with ESMTP id PAA79851; Mon, 26 Apr 1999 15:17:16 -0400 (EDT) Date: Mon, 26 Apr 1999 15:17:16 -0400 (EDT) From: Chuck Robey To: Oscar Bonilla Cc: freebsd-ports@FreeBSD.ORG Subject: Re: How to "make" instead of "make all" In-Reply-To: <19990426115011.A55652@fisicc-ufm.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, 26 Apr 1999, Oscar Bonilla wrote: > still juggling with this ns stuff :) > > ns is compiled by issuing > > $ make > > not > > $ make all > > how do i prevent the ports subsystem from adding the "all" word The variable ALL_TARGET, in bsd.port.mk, defaults to "all" but you can set it to anything your heart desires. Seriously, one of the nicer things that being a porter gives you is an incentive to read bsd.port.mk, which is the base structure of our ports system. IF you read that, and understand that one file, you will forevermore be an expert on make. I'm not joking. If you get stuck on any portion of it, ask, you'll get quick help (many experts on that file reside right here on freebsd-ports). bsd.port.mk is great not only for being the base of ports, it also shows examples of nearly every way you can twist the BSD make utility. Most of the ways are fairly clean ... there are some things I would not want in my own makefile, because they're messy, but sometimes messy is the only way to get where you're headed. ----------------------------+----------------------------------------------- Chuck Robey | Interests include any kind of voice or data chuckr@picnic.mat.net | communications topic, C programming, and Unix. 213 Lakeside Drive Apt T-1 | Greenbelt, MD 20770 | I run picnic (FreeBSD-current) (301) 220-2114 | and jaunt (Solaris7). ----------------------------+----------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message