summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorRobin Burchell <robin.burchell@collabora.co.uk>2011-01-17 12:31:46 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2011-01-17 12:31:46 (GMT)
commit4a7a6d19fa557a7220dfd1a1387e0958182505f2 (patch)
treea65e247e186eac78ad8b8a8a8a7725f73c417bba /doc
parent145c6bdef2680ca0da07f8f0cf09419edf9ecd52 (diff)
downloadQt-4a7a6d19fa557a7220dfd1a1387e0958182505f2.zip
Qt-4a7a6d19fa557a7220dfd1a1387e0958182505f2.tar.gz
Qt-4a7a6d19fa557a7220dfd1a1387e0958182505f2.tar.bz2
Improve documentation for PWD variable.
- Note that it can be used in shadow build circumstances. - Note that IN_PWD is an alias for PWD. - See also: _PRO_FILE_ Merge-request: 1022 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/src/development/qmake-manual.qdoc13
1 files changed, 11 insertions, 2 deletions
diff --git a/doc/src/development/qmake-manual.qdoc b/doc/src/development/qmake-manual.qdoc
index b6270d5..f5ac12d 100644
--- a/doc/src/development/qmake-manual.qdoc
+++ b/doc/src/development/qmake-manual.qdoc
@@ -1900,8 +1900,17 @@
\target PWD
\section1 PWD
- This variable contains the full path leading to the directory where
- the \c qmake project file (project.pro) is located.
+ The \c PWD variable specifies the full path leading to the directory
+ containing the current file being parsed. This can be useful
+ to refer to files within the source tree when writing project files to
+ support shadow builds.
+
+ See also \l{#_PRO_FILE_PWD_}{_PRO_FILE_PWD_}.
+
+ \note IN_PWD is an alias for PWD.
+
+ \note Function calls have no effect on the value of PWD. PWD will refer to
+ the path of the calling file.
\target OUT_PWD
\section1 OUT_PWD