summaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-01-17 16:45:08 (GMT)
committerGuido van Rossum <guido@python.org>1995-01-17 16:45:08 (GMT)
commitd09119e889cc48ea628edf9e06a995d2500ea6bd (patch)
treeb50c904a9548834e9a9edc380e16e32295e87340 /Makefile.in
parent19e0c26e6fceb606906379ae7e3176462cd15c91 (diff)
downloadcpython-d09119e889cc48ea628edf9e06a995d2500ea6bd.zip
cpython-d09119e889cc48ea628edf9e06a995d2500ea6bd.tar.gz
cpython-d09119e889cc48ea628edf9e06a995d2500ea6bd.tar.bz2
be more careful about building Modules/Makefile.pre
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 4a97f91..8becb5d 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -157,12 +157,16 @@ sharedinstall:
sharedinstall
# Build the sub-Makefiles
-Makefiles: config.status
+Makefiles: config.status Modules/Makefile.pre
(cd Modules; $(MAKE) -f Makefile.pre Makefile)
for i in . $(SUBDIRS); do \
(echo $$i; cd $$i; $(MAKE) Makefile); \
done
+# Build the intermediate Makefile in Modules
+Modules/Makefile.pre: config.status
+ $(SHELL) config.status
+
# Build the toplevel Makefile
Makefile: Makefile.in config.status
CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) config.status