]> granicus.if.org Git - python/commitdiff
Issue #11411: Fix typo in the Makefile that prevented 'make DESTDIR=' from
authorThomas Wouters <thomas@python.org>
Sun, 6 Mar 2011 19:49:15 +0000 (11:49 -0800)
committerThomas Wouters <thomas@python.org>
Sun, 6 Mar 2011 19:49:15 +0000 (11:49 -0800)
working correctly with a relative path.

Makefile.pre.in
Misc/NEWS

index 211a70354f7a5877bbea2d3eb41abf9376abdd42..fc3116a760430df0935033f5b497ca6422d21344 100644 (file)
@@ -1035,7 +1035,7 @@ sharedinstall: sharedmods
                --prefix=$(prefix) \
                --install-scripts=$(BINDIR) \
                --install-platlib=$(DESTSHARED) \
-               --root=/$(DESTDIR)
+               --root=$(DESTDIR)/
 
 # Here are a couple of targets for MacOSX again, to install a full
 # framework-based Python. frameworkinstall installs everything, the
@@ -1115,7 +1115,7 @@ scriptsinstall:
        ./$(BUILDPYTHON) $(srcdir)/Tools/scripts/setup.py install \
        --prefix=$(prefix) \
        --install-scripts=$(BINDIR) \
-       --root=/$(DESTDIR)
+       --root=$(DESTDIR)/
 
 # Build the toplevel Makefile
 Makefile.pre: Makefile.pre.in config.status
index 9531d908c3111849591e5429fb6bc5907fe8fbb2..5a445ee8fd00974776feff43d454c30522e2c30e 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -192,6 +192,8 @@ Extensions
 Build
 -----
 
+- Issue #11411: Fix 'make DESTDIR=' with a relative destination.
+
 - Issue #11184: Fix large-file support on AIX.
 
 - Issue #941346: Fix broken shared library build on AIX.