Don't lose if Makefile doesn't exist in subdirectory during
authorJohn Carr <jfc@mit.edu>
Mon, 27 May 1991 22:02:50 +0000 (22:02 +0000)
committerJohn Carr <jfc@mit.edu>
Mon, 27 May 1991 22:02:50 +0000 (22:02 +0000)
"make Makefiles".

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2113 dc483132-0cff-0310-8789-dd5450dbe970

src/config/Imake.rules

index daf7ac3f9fd67be14b5375a1d007653ced106f6d..82f18a91200c9f32bd4f5057d8aba3fb20fb3d63 100644 (file)
@@ -1266,9 +1266,9 @@ subdirMakefiles:                                                  @@\
        echo "  $(RM) $(MAKEFILE_SUBDIR)/Makefile.bak; $(MV) $(MAKEFILE_SUBDIR)/Makefile $(MAKEFILE_SUBDIR)/Makefile.bak; $(MV) $(MAKEFILE_SUBDIR)/Makefile.new $(MAKEFILE_SUBDIR)/Makefile"; \ @@\
        $(RM) $(MAKEFILE_SUBDIR)/Makefile.bak; \                        @@\
        $(MV) $(MAKEFILE_SUBDIR)/Makefile $(MAKEFILE_SUBDIR)/Makefile.bak; \ @@\
+       fi;                                                             @@\
        $(MV) $(MAKEFILE_SUBDIR)/Makefile.new $(MAKEFILE_SUBDIR)/Makefile; \ @@\
-       cd $(MAKEFILE_SUBDIR); $(MAKE) $(MFLAGS) Makefiles; \           @@\
-       else exit 0; fi                                                 @@\
+       cd $(MAKEFILE_SUBDIR); $(MAKE) $(MFLAGS) Makefiles;             @@\
                                                                        @@\
 subsubdirMakefiles:                                                    @@\
        cd $(MAKEFILE_SUBDIR); $(IMAKE_CMD) -DTOPDIR=$(UPPREFIX)$(TOP) -DCURDIR=$(NEW_CURRENT_DIR) -s Makefile.new; \   @@\