summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorSean Reifscheider <jafo@tummy.com>2007-09-21 06:33:28 (GMT)
committerSean Reifscheider <jafo@tummy.com>2007-09-21 06:33:28 (GMT)
commitaaad0d602bd84e5d1a376d31c0ab4c471e978089 (patch)
tree845449afce206e75accfca17bb1719e487d804b0 /Makefile.pre.in
parent4a21268a749ee7461a4b744ddaa1fbcb0f22e7d5 (diff)
downloadcpython-aaad0d602bd84e5d1a376d31c0ab4c471e978089.zip
cpython-aaad0d602bd84e5d1a376d31c0ab4c471e978089.tar.gz
cpython-aaad0d602bd84e5d1a376d31c0ab4c471e978089.tar.bz2
Issue1704287: "make install" fails unless you do "make" first. Make
oldsharedmods and sharedmods in "libinstall".
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index eaefb07..0972411 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -334,7 +334,8 @@ LIBRARY_OBJS= \
# 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 @@ LIBSUBDIRS= lib-tk site-packages test test/output test/data \
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 @@ funny:
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