help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: execute command if a dir does not exist


From: John Graham-Cumming
Subject: Re: execute command if a dir does not exist
Date: Mon, 05 Feb 2007 09:57:48 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040208 Thunderbird/0.5 Mnenhy/0.6.0.104

-----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-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]