Date: Thu, 18 Dec 2003 19:02:35 -0500 From: "Dan Langille" <dan@langille.org> To: freebsd-hackers@freebsd.org Subject: optionally include file within a Makefile Message-ID: <3FE1F9CB.6075.928869EF@localhost>
next in thread | raw e-mail | index | archive | help
My goal is provide a way to override values in a Makefile with values 
from a local config file.
My attempt is this:
if test -r ~/.local-values \
then \
     . ~/.local-values \
fi 
#
# Where to get the source to be tested
BACULA_SOURCE?="${HOME}/src/bacula-cvs"
But I'm getting this error:
$ make setup
"Makefile", line 8: Need an operator
where line 8 is the fi.
Ideas?
-- 
Dan Langille : http://www.langille.org/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3FE1F9CB.6075.928869EF>
