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.
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.com/ free EDA software tool suite. The latest version is available from CPAN and from http://www.veripool.com/.
Copyright 2001-2006 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>