NAME

project_dir - Determine and query DIRPROJECT environment variables

SYNOPSIS

project_dir --project
project_dir --makefile

DESCRIPTION

project_dir 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 Dir::Project 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.

--help

Displays this message and program version and exits.

--version

Displays program version and exits.

ENVIRONMENT

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

DIRPROJECT

The directory path to the root of the model.

See Dir::Project for other relevant environment variables.

DISTRIBUTION

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

Copyright 2001-2008 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.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

AUTHORS

Wilson Snyder <wsnyder@wsnyder.org>

SEE ALSO

Dir::Project, project_bin