Date: Fri, 19 Dec 2003 02:22:20 +0100 From: "Simon L. Nielsen" <simon@FreeBSD.org> To: Dan Langille <dan@langille.org> Cc: freebsd-hackers@freebsd.org Subject: Re: optionally include file within a Makefile Message-ID: <20031219012217.GA670@arthur.nitro.dk> In-Reply-To: <3FE20A5C.2872.92C92363@localhost> References: <3FE1F9CB.6075.928869EF@localhost> <3FE20A5C.2872.92C92363@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031219012217.GA670>