From: Glenn Morris Date: Thu, 20 May 2010 06:24:35 +0000 (-0700) Subject: * config.bat: Need to add the deps.mk file before running cpp. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~205^2~44 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=74e6ff9a60576fca7fd7a6e6fbbff6eb0abc68cd;p=emacs.git * config.bat: Need to add the deps.mk file before running cpp. --- diff --git a/config.bat b/config.bat index 4ce30874e8f..ba31161962e 100644 --- a/config.bat +++ b/config.bat @@ -190,11 +190,11 @@ rem On my system dir.h gets in the way. It's a VMS file so who cares. if exist dir.h ren dir.h vmsdir.h rem Create "makefile" from "makefile.in". -rm -f Makefile junk.c +rm -f Makefile junk.c junk2.c sed -e "1,/== start of cpp stuff ==/s@^##*[ ].*$@@" junk.c -gcc -E -traditional junk.c | sed -f ../msdos/sed1v2.inp >makefile.tmp -copy makefile.tmp + deps.mk Makefile -rm -f junk.c makefile.tmp +copy junk.c + deps.mk junk2.c +gcc -E -traditional junk2.c | sed -f ../msdos/sed1v2.inp >Makefile +rm -f junk.c junk2.c if "%X11%" == "" goto src5 mv Makefile makefile.tmp