Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jan 2010 23:32:27 +0200
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Anton Shterenlikht <mexas@bristol.ac.uk>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: make doesn't see changes in /etc/mail/freebsd.mc
Message-ID:  <873a1p3ogk.fsf@kobe.laptop>
In-Reply-To: <20100128165916.GD60207@mech-cluster241.men.bris.ac.uk> (Anton Shterenlikht's message of "Thu, 28 Jan 2010 16:59:16 %2B0000")
References:  <20100128165916.GD60207@mech-cluster241.men.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 28 Jan 2010 16:59:16 +0000, Anton Shterenlikht <mexas@bristol.ac.uk> wrote:
> I've seen this behaviour for years, but never bothered
> to ask why.
>
> Imagine I already have in /etc/mail local .mc and .cf files. Imagine I
> then update freebsd.mc. When I run make nothing happens. What I think
> should happen is that local .mc should be updated and then .cf
> generated.
>
> Because of this behaviour I have to manually delete local .mc files
> and all .cf files before running make.

Or merge your local changes *into* the "local.mc" file.  For example, I
have several dozen lines of local customizations in "HOSTNAME.mc" here:

root@kobe:/etc/mail# diff -u freebsd.mc kobe.mc | diffstat -p1
 kobe.mc |  167
 ++++++++++++++++++++++++++++++++++++++++++++++++----------------
 1 file changed, 126 insertions(+), 41 deletions(-)

I would be very annoyed if updating freebsd.mc clobbered these :-)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?873a1p3ogk.fsf>