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