Bug #14387 Updated: DESTDIR option to make
| From: | sterling@php.net | Date: | Wed, 17 Apr 2002 21:38:31 +0000 |
| Subject: | Bug #14387 Updated: DESTDIR option to make | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-5240@lists.php.net to get a copy of this message | ||
ID: 14387
Updated by: sterling@php.net
Reported By: sterling@php.net
-Status: Open
+Status: Bogus
Bug Type: Feature/Change Request
Operating System: All
PHP Version: 4.1.0
New Comment:
Set the INSTALL_ROOT butthead:
]$ INSTALL_ROOT=/home/sterling/tmp make install
many thanks to snoopy, err, sniper :)
Previous Comments:
------------------------------------------------------------------------
[2001-12-08 17:47:14] sterling@php.net
Something similair to Apache's DESTDIR option to make would be great,
when building PHP to be distributed on a cluster of webservers, you
often have a test environment where you're not root -- In these cases,
you need to test your php installation (with appropriate paths, such as
/usr/local/lib/php). However, you need the data to be installed in
your home directory.
ie,
make install :=
/usr/lib/php/PEAR.php
/usr/bin/php
etc.
make install DESTDIR=/home/sterling
/home/sterling/usr/lib/php/PEAR.php
/home/sterling/usr/bin/php
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=14387&edit=1