From owner-freebsd-hackers Tue Mar 19 19:45: 5 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mao.stokely.org (mao.stokely.org [65.84.64.228]) by hub.freebsd.org (Postfix) with ESMTP id C7E9537B405 for ; Tue, 19 Mar 2002 19:45:00 -0800 (PST) Received: by mao.stokely.org (Postfix, from userid 2074) id 7821A4B65D; Tue, 19 Mar 2002 19:45:00 -0800 (PST) Date: Tue, 19 Mar 2002 19:45:00 -0800 From: Murray Stokely To: "George V. Neville-Neil" Cc: freebsd-hackers@freebsd.org Subject: Re: Documents on FreeBSD Make system? Message-ID: <20020320034500.GU26004@freebsdmall.com> References: <200203181825.g2IIOwGg037053@mail.meer.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Yylu36WmvOXNoKYn" Content-Disposition: inline In-Reply-To: <200203181825.g2IIOwGg037053@mail.meer.net> User-Agent: Mutt/1.3.25i X-GPG-Key-ID: 1024D/0E451F7D X-GPG-Key-Fingerprint: E2CA 411D DD44 53FD BB4B 3CB5 B4D7 10A2 0E45 1F7D Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --Yylu36WmvOXNoKYn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 18, 2002 at 10:24:58AM -0800, George V. Neville-Neil wrote: > Is there a set of docs or a Daemon News article on working with the BSD > make system? I'd like to write my code as closely to whatever that stand= ard > is as possible but reading through all the .mk files seems a bit less eff= icient > if there is a doc. Hi George, The information is scattered over a few different places. /usr/share/doc/psd/12.make/paper.ascii.gz An excellent resource on make(1). This documents much of the obscure make functionality used by our .mk files, that you may not be familiar with if you're not used to BSD / Sprite-based make. build(7)=20 This manual page explains some of the common make variables and targets that are used by our .mk files, such as DESTDIR, TARGET_ARCH, etc. It should probably be a bit more comprehensive, but it is a good start. The FreeBSD Developer's Handbook=20 http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/index.= html Section 2.5 talks a bit about make, but clearly more information is needed. This section should also point the reader to build(7). If you do write an article for Daemonnews, then please contribute it to the Developer's Handbook after a month or so of allowing DN to be the sole publisher. [Or, you could just contribute it straight to the FreeBSD Doc Project. ;)] Also, check out Nik Clayton's "Managing web sites with make" article for Daemonnews from a couple of years ago. He covered a lot of the basics, so you can point readers to that article and then start out assuming a certain level of experience. - Murray --Yylu36WmvOXNoKYn Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (SunOS) Comment: For info see http://www.gnupg.org iD8DBQE8mAW7tNcQog5FH30RAiX9AJ4k2XO+qxWJnXadhXbHouO4kpru/QCeIqav IVNbmNpxyPqIP3Ku4O1SgmE= =uSfJ -----END PGP SIGNATURE----- --Yylu36WmvOXNoKYn-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message