[Python-checkins] r58225 - python/trunk/Makefile.pre.in
sean.reifschneider
python-checkins at python.org
Fri Sep 21 08:33:28 CEST 2007
Author: sean.reifschneider
Date: Fri Sep 21 08:33:28 2007
New Revision: 58225
Modified:
python/trunk/Makefile.pre.in
Log:
Issue1704287: "make install" fails unless you do "make" first. Make
oldsharedmods and sharedmods in "libinstall".
Modified: python/trunk/Makefile.pre.in
==============================================================================
--- python/trunk/Makefile.pre.in (original)
+++ python/trunk/Makefile.pre.in Fri Sep 21 08:33:28 2007
@@ -334,7 +334,8 @@
# Rules
# Default target
-all: $(BUILDPYTHON) oldsharedmods sharedmods
+all: build_all
+build_all: $(BUILDPYTHON) oldsharedmods sharedmods
# Build the interpreter
$(BUILDPYTHON): Modules/python.o $(LIBRARY) $(LDLIBRARY)
@@ -729,7 +730,7 @@
distutils distutils/command distutils/tests $(XMLLIBSUBDIRS) \
setuptools setuptools/command setuptools/tests setuptools.egg-info \
curses $(MACHDEPS)
-libinstall: $(BUILDPYTHON) $(srcdir)/Lib/$(PLATDIR)
+libinstall: build_all $(srcdir)/Lib/$(PLATDIR)
@for i in $(SCRIPTDIR) $(LIBDEST); \
do \
if test ! -d $(DESTDIR)$$i; then \
@@ -1090,7 +1091,7 @@
Python/thread.o: @THREADHEADERS@
# Declare targets that aren't real files
-.PHONY: all sharedmods oldsharedmods test quicktest memtest
+.PHONY: all build_all sharedmods oldsharedmods test quicktest memtest
.PHONY: install altinstall oldsharedinstall bininstall altbininstall
.PHONY: maninstall libinstall inclinstall libainstall sharedinstall
.PHONY: frameworkinstall frameworkinstallframework frameworkinstallstructure
More information about the Python-checkins
mailing list