Commit 3b8ee087 authored by Martin v. Löwis's avatar Martin v. Löwis

Patch #718286: Support DESTDIR.

parent 172d9ef4
This diff is collapsed.
...@@ -53,6 +53,9 @@ Tools/Demos ...@@ -53,6 +53,9 @@ Tools/Demos
Build Build
----- -----
- Setting DESTDIR during 'make install' now allows to specify a
different root directory.
C API C API
----- -----
......
...@@ -878,6 +878,10 @@ platform-specific files will be installed in subdirectories if the ...@@ -878,6 +878,10 @@ platform-specific files will be installed in subdirectories if the
directory given by --exec-prefix or the `exec_prefix' Make variable directory given by --exec-prefix or the `exec_prefix' Make variable
(defaults to the --prefix directory) is given. (defaults to the --prefix directory) is given.
If DESTDIR is set, it will be taken as the root directory of the
installation, and files will be installed into $(DESTDIR)$(prefix),
$(DESTDIR)$(exec_prefix), etc.
All subdirectories created will have Python's version number in their All subdirectories created will have Python's version number in their
name, e.g. the library modules are installed in name, e.g. the library modules are installed in
"/usr/local/lib/python<version>/" by default, where <version> is the "/usr/local/lib/python<version>/" by default, where <version> is the
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment