1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-03 22:20:52 -08:00

* config.bat: Need to add the deps.mk file before running cpp.

This commit is contained in:
Glenn Morris 2010-05-19 23:24:35 -07:00
parent c3ba133a80
commit 74e6ff9a60

View file

@ -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@^##*[ ].*$@@" <Makefile.in >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