Date: Tue, 9 Jun 2009 10:59:07 +0200 From: Ruben de Groot <mail25@bzerk.org> To: Chuck Robey <chuckr@telenix.org> Cc: Lars Eighner <luvbeastie@larseighner.com>, freebsd-questions@freebsd.org Subject: Re: General and specific make questions Message-ID: <20090609085907.GB70621@ei.bzerk.org> In-Reply-To: <4A2D5161.7050406@telenix.org> References: <20090607235205.H85986@qroenaqrq.6qbyyneqvnyhc.pbz> <4A2D5161.7050406@telenix.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jun 08, 2009 at 01:58:57PM -0400, Chuck Robey typed: > Lars Eighner wrote: > > > > I have some sources which may or may not exist. My target should be > > rebuilt > > if a source exists that is younger than the target. But sources that do > > not exist should be ignored and make should not be perplexed over how to > > create them. How do I express that kind of relationship? Have a look at /etc/mail/Makefile. I think that does what you want, e.g. it will rebuild the genericstable.db, but only if the genericstable file exists and is newer. Ruben
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090609085907.GB70621>