]> code.delx.au - gnu-emacs/commitdiff
Identify the beginning of cpp stuff in src/Makefile.in and
authorEli Zaretskii <eliz@gnu.org>
Mon, 1 May 2000 15:19:27 +0000 (15:19 +0000)
committerEli Zaretskii <eliz@gnu.org>
Mon, 1 May 2000 15:19:27 +0000 (15:19 +0000)
lib/src/Makefile.in more accurately.

config.bat

index 74060672af115643ccf644e0bf8343f5703b51b6..5c922551d0ecdcbff8083db904824183f054016b 100644 (file)
@@ -147,7 +147,7 @@ if exist dir.h ren dir.h vmsdir.h
 \r
 rem   Create "makefile" from "makefile.in".\r
 rm -f Makefile junk.c\r
-sed -e "1,/cpp stuff/s@^# .*$@@" <Makefile.in >junk.c\r
+sed -e "1,/== start of cpp stuff ==/s@^# .*$@@" <Makefile.in >junk.c\r
 If "%DJGPP_VER%" == "1" Goto mfV1\r
 gcc -E junk.c | sed -f ../msdos/sed1v2.inp >Makefile\r
 goto mfDone\r
@@ -172,7 +172,7 @@ rem   ----------------------------------------------------------------------
 Echo Configuring the library source directory...\r
 cd lib-src\r
 rem   Create "makefile" from "makefile.in".\r
-sed -e "1,/cpp stuff/s@^# .*$@@" <Makefile.in >junk.c\r
+sed -e "1,/== start of cpp stuff ==/s@^# .*$@@" <Makefile.in >junk.c\r
 gcc -E -I. -I../src junk.c | sed -e "s/^ /     /" -e "/^#/d" -e "/^[   \f]*$/d" >makefile.new\r
 If "%DJGPP_VER%" == "2" goto libsrc-v2\r
 sed -f ../msdos/sed3.inp <makefile.new >Makefile\r