You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
681 B
20 lines
681 B
6 years ago
|
DESTDIR
|
||
|
-------
|
||
|
|
||
|
On UNIX one can use the ``DESTDIR`` mechanism in order to relocate the
|
||
|
whole installation. ``DESTDIR`` means DESTination DIRectory. It is
|
||
|
commonly used by makefile users in order to install software at
|
||
|
non-default location. It is usually invoked like this:
|
||
|
|
||
|
::
|
||
|
|
||
|
make DESTDIR=/home/john install
|
||
|
|
||
|
which will install the concerned software using the installation
|
||
|
prefix, e.g. ``/usr/local`` prepended with the ``DESTDIR`` value which
|
||
|
finally gives ``/home/john/usr/local``.
|
||
|
|
||
|
WARNING: ``DESTDIR`` may not be used on Windows because installation
|
||
|
prefix usually contains a drive letter like in ``C:/Program Files``
|
||
|
which cannot be prepended with some other prefix.
|