[Zope-Checkins] CVS: Zope/inst - Makefile.in:1.14.2.4
Tres Seaver
cvs-admin at zope.org
Thu Nov 20 11:07:41 EST 2003
Update of /cvs-repository/Zope/inst
In directory cvs.zope.org:/tmp/cvs-serv32252/inst
Modified Files:
Tag: Zope-2_7-branch
Makefile.in
Log Message:
- When installing, symlink the Python used to build Zope into the
installed 'bin' directory (unless it has a 'python' already).
=== Zope/inst/Makefile.in 1.14.2.3 => 1.14.2.4 ===
--- Zope/inst/Makefile.in:1.14.2.3 Thu Jul 24 15:22:58 2003
+++ Zope/inst/Makefile.in Thu Nov 20 11:07:39 2003
@@ -52,9 +52,13 @@
${RMRF} ${BUILD_BASE}
# install: Install a software home.
+#
+# Note: Unless ${PREFIX}/bin already has a 'python', symlink the
+# "canonical" Python for this Zope into it.
install: build
${PYTHON} "${BASE_DIR}/setup.py" ${DISTUTILS_OPTS} install \
--home="${PREFIX}" ${BUILD_FLAGS} ${INSTALL_FLAGS}
+ [ -f ${PREFIX}/bin/python ] || ${LN} ${PYTHON} ${PREFIX}/bin/python
@echo
@echo Zope binaries installed successfully.
@echo Now run \'${PREFIX}/bin/mkzopeinstance.py\'
More information about the Zope-Checkins
mailing list