]> granicus.if.org Git - python/commitdiff
"make install" is now an alias for "make altinstall", to prevent
authorGuido van Rossum <guido@python.org>
Mon, 7 Apr 2008 18:37:41 +0000 (18:37 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 7 Apr 2008 18:37:41 +0000 (18:37 +0000)
accidentally overwriting a Python 2.x installation.
Use "make fullinstall" to force Python 3.0 to be installed as
"python".

Makefile.pre.in
Misc/NEWS

index f9b59e92f59784b1fbea0e49c4cc5b7516941310..c21658d0a64b60923f379b651280329b18ff6c9d 100644 (file)
@@ -687,7 +687,15 @@ memtest:   all platform
                $(TESTPYTHON) $(TESTPROG) $(MEMTESTOPTS)
 
 # Install everything
-install:       @FRAMEWORKINSTALLFIRST@ altinstall bininstall maninstall @FRAMEWORKINSTALLLAST@
+fullinstall:   @FRAMEWORKINSTALLFIRST@ altinstall bininstall maninstall @FRAMEWORKINSTALLLAST@
+
+# "make install" is an alias for "make altinstall" since we never want to
+# overwrite Python 2.x.
+install:       altinstall
+               echo "* Note: not installed as 'python'."
+               echo "* Use 'make fullinstall' to install as 'python'."
+               echo "* However, 'make fulinstall' is discouraged,"
+               echo "* as it will clobber your Python 2.x installation."
 
 # Install almost everything without disturbing previous versions
 altinstall:    @FRAMEWORKALTINSTALLFIRST@ altbininstall libinstall inclinstall libainstall \
index 327c19939b522c6a13e299aa0a2c992f889b0f59..1ff242aaf7a4abbcd628484cb88f540551879c13 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -32,6 +32,11 @@ Library
 Build
 -----
 
+- "make install" is now an alias for "make altinstall", to prevent
+  accidentally overwriting a Python 2.x installation.
+  Use "make fullinstall" to force Python 3.0 to be installed as
+  "python".
+
 - Issue #2544: On HP-UX systems, use 'gcc -shared' for linking when
   gcc is used as compiler.