From d09119e889cc48ea628edf9e06a995d2500ea6bd Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 17 Jan 1995 16:45:08 +0000 Subject: [PATCH] be more careful about building Modules/Makefile.pre --- Makefile.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index 4a97f91d4d3..8becb5d6f8a 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