project_dir - Determine and query DIRPROJECT environment variables
project_dir --project project_dir --makefile
project_dir reports the status of the Dir::Project variables. See the arguments below for what action is to be performed.
Print the current project directory path. Determined based on a project symlink or the current directory, see Dir::Project for details.
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 prints its filename.
Print the contents of what --makefile would create.
Displays this message and program version and exits.
Displays program version and exits.
The following environment variables are set by project_dir via the makefile:
The directory path to the root of the model.
See Dir::Project for other relevant environment variables.
Copyright 2001-2017 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 Version 3 or the Perl Artistic License Version 2.0.
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.
Wilson Snyder <email@example.com>