Issue1704287: "make install" fails unless you do "make" first. Make
oldsharedmods and sharedmods in "libinstall".
This commit is contained in:
parent
4a21268a74
commit
aaad0d602b
|
@ -334,7 +334,8 @@ LIBRARY_OBJS= \
|
||||||
# Rules
|
# Rules
|
||||||
|
|
||||||
# Default target
|
# Default target
|
||||||
all: $(BUILDPYTHON) oldsharedmods sharedmods
|
all: build_all
|
||||||
|
build_all: $(BUILDPYTHON) oldsharedmods sharedmods
|
||||||
|
|
||||||
# Build the interpreter
|
# Build the interpreter
|
||||||
$(BUILDPYTHON): Modules/python.o $(LIBRARY) $(LDLIBRARY)
|
$(BUILDPYTHON): Modules/python.o $(LIBRARY) $(LDLIBRARY)
|
||||||
|
@ -729,7 +730,7 @@ LIBSUBDIRS= lib-tk site-packages test test/output test/data \
|
||||||
distutils distutils/command distutils/tests $(XMLLIBSUBDIRS) \
|
distutils distutils/command distutils/tests $(XMLLIBSUBDIRS) \
|
||||||
setuptools setuptools/command setuptools/tests setuptools.egg-info \
|
setuptools setuptools/command setuptools/tests setuptools.egg-info \
|
||||||
curses $(MACHDEPS)
|
curses $(MACHDEPS)
|
||||||
libinstall: $(BUILDPYTHON) $(srcdir)/Lib/$(PLATDIR)
|
libinstall: build_all $(srcdir)/Lib/$(PLATDIR)
|
||||||
@for i in $(SCRIPTDIR) $(LIBDEST); \
|
@for i in $(SCRIPTDIR) $(LIBDEST); \
|
||||||
do \
|
do \
|
||||||
if test ! -d $(DESTDIR)$$i; then \
|
if test ! -d $(DESTDIR)$$i; then \
|
||||||
|
@ -1090,7 +1091,7 @@ funny:
|
||||||
Python/thread.o: @THREADHEADERS@
|
Python/thread.o: @THREADHEADERS@
|
||||||
|
|
||||||
# Declare targets that aren't real files
|
# 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: install altinstall oldsharedinstall bininstall altbininstall
|
||||||
.PHONY: maninstall libinstall inclinstall libainstall sharedinstall
|
.PHONY: maninstall libinstall inclinstall libainstall sharedinstall
|
||||||
.PHONY: frameworkinstall frameworkinstallframework frameworkinstallstructure
|
.PHONY: frameworkinstall frameworkinstallframework frameworkinstallstructure
|
||||||
|
|
Loading…
Reference in New Issue