1DESTDIR 2------- 3 4.. include:: ENV_VAR.txt 5 6On UNIX one can use the ``DESTDIR`` mechanism in order to relocate the 7whole installation. ``DESTDIR`` means DESTination DIRectory. It is 8commonly used by makefile users in order to install software at 9non-default location. It is usually invoked like this: 10 11:: 12 13 make DESTDIR=/home/john install 14 15which will install the concerned software using the installation 16prefix, e.g. ``/usr/local`` prepended with the ``DESTDIR`` value which 17finally gives ``/home/john/usr/local``. 18 19WARNING: ``DESTDIR`` may not be used on Windows because installation 20prefix usually contains a drive letter like in ``C:/Program Files`` 21which cannot be prepended with some other prefix. 22