From: John Graham-Cumming <address@hidden>
Reply-To: address@hidden
To: sharan basappa <address@hidden>
CC: address@hidden
Subject: Re: execute command if a dir does not exist
Date: Mon, 05 Feb 2007 09:57:48 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
sharan basappa wrote:
> Background : The tool I am using stores its internal information in a
> directory.
> The very first time, we are supposed to create this directory using
tool's
> command. But this is only the first time alone.
>
> Question : How can I write a rule such that a specific command is
> executed if
> a directory does not exist under directory from which make is getting
> executed.
This topics comes up a lot, I wrote an article summarizing many of the
options:
http://www.cmcrossroads.com/content/view/6936/120/
John.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFxvGLLphrp73n/hARAreTAKCbJacacWAmlFfoFC8bHNgNkRhdUgCfWL0v
O64iDHoGdaoKnnwXNt3MKOc=
=THMu
-----END PGP SIGNATURE-----