help-make
[Top][All Lists]
Advanced

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

How do I check if a directory exists?


From: Jimmy DeWitt
Subject: How do I check if a directory exists?
Date: Mon, 8 Dec 2003 10:45:47 -0600


Hi,
        I have a make question:

How do I test if a directory exists with make?


I would like to have a Makefile that checks if a specific directory is there, if it
is I would like to cd to it and build .

if foo
        cd foo
        make -f my_makefile


Is there a way to do this without scripts?
reply via email to

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