summaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
authornperez <nperez@cpan.org>2009-06-23 20:32:31 -0500
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2009-07-09 15:05:41 +0200
commit32878f30ba1216461c8932946f0868cda9920d62 (patch)
tree89cfa1b25155618073b2b7c8f09d53a9fc0f270b /INSTALL
parent37f2ccb85aacf7e0846f04957cc05301fbb96b15 (diff)
downloadperl-32878f30ba1216461c8932946f0868cda9920d62.tar.gz
Make INSTALL -Duserelocatableinc aware
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL15
1 files changed, 15 insertions, 0 deletions
diff --git a/INSTALL b/INSTALL
index d2f072f242..50eeea6c49 100644
--- a/INSTALL
+++ b/INSTALL
@@ -772,6 +772,21 @@ simply do:
=back
+=head2 Relocatable @INC
+
+To create a relocatable perl tree, use the following command line:
+
+ sh Configure -Duserelocatableinc
+
+Then the paths in @INC (and everything else in %Config) can be
+optionally located via the path of the perl executable.
+
+That means that, if the string ".../" is found at the start of any
+path, it's substituted with the directory of $^X. So, the relocation
+can be configured on a per-directory basis, although the default with
+"-Duserelocatableinc" is that everything is relocated. The initial
+install is done to the original configured prefix.
+
=head2 Site-wide Policy settings
After Configure runs, it stores a number of common site-wide "policy"