From owner-freebsd-hackers@FreeBSD.ORG Thu Dec 18 17:22:26 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A07E316A54C for ; Thu, 18 Dec 2003 17:22:26 -0800 (PST) Received: from arthur.nitro.dk (port324.ds1-khk.adsl.cybercity.dk [212.242.113.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id ABC4843D45 for ; Thu, 18 Dec 2003 17:22:21 -0800 (PST) (envelope-from simon@arthur.nitro.dk) Received: by arthur.nitro.dk (Postfix, from userid 3000) id 3A73A11429; Fri, 19 Dec 2003 02:22:20 +0100 (CET) Date: Fri, 19 Dec 2003 02:22:20 +0100 From: "Simon L. Nielsen" To: Dan Langille Message-ID: <20031219012217.GA670@arthur.nitro.dk> References: <3FE1F9CB.6075.928869EF@localhost> <3FE20A5C.2872.92C92363@localhost> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BOKacYhQ+x31HxR3" Content-Disposition: inline In-Reply-To: <3FE20A5C.2872.92C92363@localhost> User-Agent: Mutt/1.5.5.1i cc: freebsd-hackers@freebsd.org Subject: Re: optionally include file within a Makefile X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Dec 2003 01:22:26 -0000 --BOKacYhQ+x31HxR3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2003.12.18 20:13:16 -0500, Dan Langille wrote: > On 18 Dec 2003 at 19:02, Dan Langille wrote: >=20 > > My goal is provide a way to override values in a Makefile with values > > from a local config file. >=20 > I'm getting further. What's the proper way to do an include? Perhaps (not tested, so there may be typos): =2Eif exists(${HOME}/.bacula-regress) =2Einclude "${HOME}/.bacula-regress" =2Eendif or something along those lines. The make(1) manual page contains a lot of useful information. --=20 Simon L. Nielsen FreeBSD Documentation Team --BOKacYhQ+x31HxR3 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/4lLJh9pcDSc1mlERAsNKAKCjpikV50RJs7SorId25+YoJxfgUQCfW2lM SEXFXrZxI1G+cPrDOf9LqME= =sKA3 -----END PGP SIGNATURE----- --BOKacYhQ+x31HxR3--