]> 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:48:05 +0000 (11:48 -0800)
committerThomas Wouters <thomas@python.org>
Sun, 6 Mar 2011 19:48:05 +0000 (11:48 -0800)
working correctly with a relative path.

Makefile.pre.in
Misc/NEWS

index d385db2a340dba8f6e99f8a6814fed796535db13..2b28cae902f70800dea5cad2ae22f357b88221ca 100644 (file)
@@ -1059,7 +1059,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
@@ -1131,7 +1131,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 3e5cd8ece09e365d045bbb93aea55a3d3ad28f6a..d562026ff889a84de37759c2b0a4e1f49e26cc2e 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -207,6 +207,8 @@ Extension Modules
 Build
 -----
 
+- Issue #11411: Fix 'make DESTDIR=' with a relative destination.
+
 - Issue #10709: Add updated AIX notes in Misc/README.AIX.
 
 - Issue #11184: Fix large-file support on AIX.