Skip to content

Commit

Permalink
"make install" is now an alias for "make altinstall", to prevent
Browse files Browse the repository at this point in the history
accidentally overwriting a Python 2.x installation.
Use "make fullinstall" to force Python 3.0 to be installed as
"python".
  • Loading branch information
gvanrossum committed Apr 7, 2008
1 parent fac49f6 commit dc21db3
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
10 changes: 9 additions & 1 deletion Makefile.pre.in
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
5 changes: 5 additions & 0 deletions Misc/NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit dc21db3

Please sign in to comment.