-$(TESTPYTHON) $(TESTPROG) $(MEMTESTOPTS)
$(TESTPYTHON) $(TESTPROG) $(MEMTESTOPTS)
-# Install everything, and install Python 3 to "python"
-fullinstall: @FRAMEWORKINSTALLFIRST@ altinstall bininstall @FRAMEWORKINSTALLLAST@
-
-# "make install" is an alias for "make altinstall" since we don't want to
-# overwrite Python 2.x by default.
-install: altinstall
- @echo "* Note: not installed as 'python'."
- @echo "* Use 'make fullinstall' to install as 'python'."
- @echo "* However, 'make fullinstall' is discouraged,"
- @echo "* as it will clobber your Python 2.x installation."
-
-# Install almost everything without disturbing 2.x versions
+install: altinstall bininstall
+
altinstall: @FRAMEWORKALTINSTALLFIRST@ altbininstall libinstall inclinstall libainstall \
sharedinstall oldsharedinstall maninstall @FRAMEWORKALTINSTALLLAST@
fi; \
done
-
-# Install the interpreter (by creating a hard link to python$(VERSION))
-bininstall: altbininstall
- -if test -f $(DESTDIR)$(BINDIR)/$(PYTHON)$(EXE) -o -h $(DESTDIR)$(BINDIR)/$(PYTHON)$(EXE); \
- then rm -f $(DESTDIR)$(BINDIR)/$(PYTHON)$(EXE); \
- else true; \
- fi
- (cd $(DESTDIR)$(BINDIR); $(LN) python$(VERSION)$(EXE) $(PYTHON)$(EXE))
- -rm -f $(DESTDIR)$(BINDIR)/python-config
- (cd $(DESTDIR)$(BINDIR); $(LN) -s python$(VERSION)-config python-config)
-
# Install the interpreter with $(VERSION) affixed
# This goes into $(exec_prefix)
-altbininstall: $(BUILDPYTHON)
+altbininstall: $(BUILDPYTHON)
@for i in $(BINDIR) $(LIBDIR); \
do \
if test ! -d $(DESTDIR)$$i; then \
fi; \
else true; \
fi
+
+bininstall: altbininstall
-if test -f $(DESTDIR)$(BINDIR)/$(PYTHON)3$(EXE) -o -h $(DESTDIR)$(BINDIR)/$(PYTHON)3$(EXE); \
then rm -f $(DESTDIR)$(BINDIR)/$(PYTHON)3$(EXE); \
else true; \
overwritten by the installation of a different versio. All files and
directories installed using "make altinstall" contain the major and minor
version and can thus live side-by-side. "make install" also creates
-${prefix}/bin/python which refers to ${prefix}/bin/pythonX.Y. If you intend
+${prefix}/bin/python3 which refers to ${prefix}/bin/pythonX.Y. If you intend
to install multiple versions using the same prefix you must decide which
version (if any) is your "primary" version. Install that version using
"make install". Install all other versions using "make altinstall".
./configure
make
make test
- sudo make install # or "make altinstall"
+ sudo make install
You can pass many options to the configure script; run "./configure
--help" to find out more. On OSX and Cygwin, the executable is called