summaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
authorMichael Schroeder <Michael.Schroeder@informatik.uni-erlangen.de>2003-07-11 16:48:41 +0200
committerJarkko Hietaniemi <jhi@iki.fi>2003-07-29 11:31:17 +0000
commit5a9231b0b3e59b5d3123feacc331e9990c48e062 (patch)
tree294dc69f37001938684d19b8587cd995a490755d /INSTALL
parente0b4086be61790b6983e8b3e4481fb6ca437ec94 (diff)
downloadperl-5a9231b0b3e59b5d3123feacc331e9990c48e062.tar.gz
DESTDIR in perl-5.8.1 package?
Date: Fri, 11 Jul 2003 14:48:41 +0200 Message-ID: <20030711124841.GA18327@immd4.informatik.uni-erlangen.de> Subject: Re: DESTDIR in perl-5.8.1 package? From: Michael Schroeder <Michael.Schroeder@informatik.uni-erlangen.de> Date: Mon, 14 Jul 2003 12:00:25 +0200 Message-ID: <20030714100025.GA26612@immd4.informatik.uni-erlangen.de> (blindly prepending and s///ing away the $destdir does not work at least in VMS, but the --destdir should help rpm builders and the like) p4raw-id: //depot/perl@20302
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL11
1 files changed, 11 insertions, 0 deletions
diff --git a/INSTALL b/INSTALL
index 4b20540fdf..5c6c14a84c 100644
--- a/INSTALL
+++ b/INSTALL
@@ -650,6 +650,17 @@ Here's one way to do that:
cd /opt/perl # Or wherever you specified as $prefix
tar xvf perl5-archive.tar
+Alternatively, perl honors the DESTDIR variable in the make install
+call. DESTDIR is automatically prepended to all the installation paths.
+With DESTDIR, the above example can we written as:
+
+ sh Configure -Dprefix=/opt/perl -des
+ make
+ make test
+ make install DESTDIR=/tmp/perl5
+ cd /tmp/perl5/opt/perl
+ tar cvf /tmp/perl5-archive.tar .
+
=head2 Site-wide Policy settings
After Configure runs, it stores a number of common site-wide "policy"