Mercurial > emacs
changeset 28767:a723efe4f841
Identify the beginning of cpp stuff in src/Makefile.in and
lib/src/Makefile.in more accurately.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Mon, 01 May 2000 15:19:27 +0000 |
parents | da7e00e4eaa6 |
children | b2c3baf84d16 |
files | config.bat |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/config.bat Mon May 01 00:57:23 2000 +0000 +++ b/config.bat Mon May 01 15:19:27 2000 +0000 @@ -147,7 +147,7 @@ rem Create "makefile" from "makefile.in". rm -f Makefile junk.c -sed -e "1,/cpp stuff/s@^# .*$@@" <Makefile.in >junk.c +sed -e "1,/== start of cpp stuff ==/s@^# .*$@@" <Makefile.in >junk.c If "%DJGPP_VER%" == "1" Goto mfV1 gcc -E junk.c | sed -f ../msdos/sed1v2.inp >Makefile goto mfDone @@ -172,7 +172,7 @@ Echo Configuring the library source directory... cd lib-src rem Create "makefile" from "makefile.in". -sed -e "1,/cpp stuff/s@^# .*$@@" <Makefile.in >junk.c +sed -e "1,/== start of cpp stuff ==/s@^# .*$@@" <Makefile.in >junk.c gcc -E -I. -I../src junk.c | sed -e "s/^ / /" -e "/^#/d" -e "/^[ ]*$/d" >makefile.new If "%DJGPP_VER%" == "2" goto libsrc-v2 sed -f ../msdos/sed3.inp <makefile.new >Makefile