project_dir - Determine and query DIRPROJECT environment variables



NAME

project_dir - Determine and query DIRPROJECT environment variables


SYNOPSIS

    project_dir --project
    project_dir --makefile


DESCRIPTION

the project_dir manpage reports the status of the Dir::Project variables. See the arguments below for what action is to be performed.


ARGUMENTS

--project
Print the current project directory path. Determined based on a project symlink or the current directory, see the Dir::Project manpage for details.

--makefile
This option is intended to be called from inside a makefile by project_dir.mk. It creates a temporary file with makefile variable settings and print that filename.

--cat
Print the contents of what --makefile would create.


ENVIRONMENT

The following environment variables are set by project_dir via the makefile:

DIRPROJECT
The directory path to the root of the model.

See the Dir::Project manpage for other relevant environment variables.


DISTRIBUTION

Dir-Project is part of the http://www.veripool.com/ free EDA software tool suite. The latest version is available from CPAN and from http://www.veripool.com/.

Copyright 2001-2007 by Wilson Snyder. This package is free software; you can redistribute it and/or modify it under the terms of either the GNU Lesser General Public License or the Perl Artistic License.


AUTHORS

Wilson Snyder <wsnyder@wsnyder.org>


SEE ALSO

the Dir::Project manpage, the project_bin manpage

 project_dir - Determine and query DIRPROJECT environment variables