Browse Source

add RELDIR

David Rose 24 years ago
parent
commit
ab83ba5429
1 changed files with 7 additions and 0 deletions
  1. 7 0
      panda/src/doc/ppremake-variables.txt

+ 7 - 0
panda/src/doc/ppremake-variables.txt

@@ -81,6 +81,13 @@ scanned:
   $[PATH] - The relative pathname to the current directory, from
     $[TOPDIR], without a trailing slash.
 
+  $[RELDIR] - This is a special variable that is similar to $[PATH] in
+    that it contains the relative pathname to the current directory,
+    but instead of being relative to $[TOPDIR] it is relative to the
+    current *output* directory--the directory in which the current
+    #output command in effect is directing its output.  This value of
+    this variable is therefore dependant on context.
+
   $[SUBDIRS] - A space-delimited list of source subdirectories within
     this source directory.  These are simply directory names, without
     slashes; prefix each name with $[DIRPREFIX] to make them relative