be more careful about building Modules/Makefile.pre

This commit is contained in:
Guido van Rossum 1995-01-17 16:45:08 +00:00
parent 19e0c26e6f
commit d09119e889
1 changed files with 5 additions and 1 deletions

View File

@ -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