diff options
author | Eli Zaretskii <eliz@gnu.org> | 2000-05-01 15:19:27 +0000 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2000-05-01 15:19:27 +0000 |
commit | 373ea6d5eeeb9a1e2202efae36617095bb9ef557 (patch) | |
tree | 2a2e5039c6af7e050a08f47e643d4ee144a1d645 /config.bat | |
parent | 40292c8a39d1a9c7283ed03ebb825b6b6a27cd0b (diff) | |
download | emacs-373ea6d5eeeb9a1e2202efae36617095bb9ef557.tar.gz |
Identify the beginning of cpp stuff in src/Makefile.in and
lib/src/Makefile.in more accurately.
Diffstat (limited to 'config.bat')
-rw-r--r-- | config.bat | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config.bat b/config.bat index 74060672af1..5c922551d0e 100644 --- a/config.bat +++ b/config.bat @@ -147,7 +147,7 @@ if exist dir.h ren dir.h vmsdir.h 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 @@ rem ---------------------------------------------------------------------- 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
|