diff options
| author | Richard M. Stallman <rms@gnu.org> | 1994-05-08 20:30:46 +0000 | 
|---|---|---|
| committer | Richard M. Stallman <rms@gnu.org> | 1994-05-08 20:30:46 +0000 | 
| commit | 02b81698a57823799370868cc6670d65c1b4a013 (patch) | |
| tree | ede020bc15351caad7a40258c2dd41fb151a1d07 | |
| parent | 726d0798d625586f0817d06733cc03238640114a (diff) | |
| download | emacs-02b81698a57823799370868cc6670d65c1b4a013.tar.gz | |
Forcibly remove "# " style comments from makefiles.
| -rw-r--r-- | config.bat | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/config.bat b/config.bat index dd7922b3766..d2a665dfeb6 100644 --- a/config.bat +++ b/config.bat @@ -96,7 +96,7 @@ if exist dir.h ren dir.h vmsdir.h  rem   Create "makefile" from "makefile.in.in" using a context patch.
  rm -f makefile junk.c
 -cp %MAKEFILEIN% junk.c
 +sed -e "1,/cpp stuff/s@^# .*$@@" <%MAKEFILEIN% >junk.c
  gcc -E junk.c | sed -f ../msdos/sed1.inp >makefile
  rm -f junk.c
  cd ..
 @@ -112,7 +112,7 @@ cd ..  goto end
  :libsrc1
  rem   Create "makefile" from "makefile.in".
 -sed -e "s@^# \(Generated.*\)$@/* \1 */@" -e "s@/\*\*/#\(.*\)$@/* \1 */@" <%MAKEFILEIN% >junk.c
 +sed -e "1,/cpp stuff/s@^# .*$@@" <%MAKEFILEIN% >junk.c
  gcc -E -I. -I../src junk.c | sed -e "s/^ /	/" -e "/^#/d" -e "/^[ 	]*$/d" >Makefile.new
  sed -f ../msdos/sed3.inp <makefile.new >makefile
  cd ..
 @@ -125,4 +125,4 @@ set X11=  set MAKEFILEIN=
  set PATHSH=
  set CONFIGH=
 - +
 | 
