# HG changeset patch # User Richard M. Stallman # Date 768429046 0 # Node ID 5d428cbd38ecb7127c37a339cc7f1fa819a979a1 # Parent a25ee02b41c82e606e83e9e6837fb86b9133b53d Forcibly remove "# " style comments from makefiles. diff -r a25ee02b41c8 -r 5d428cbd38ec config.bat --- a/config.bat Sun May 08 19:51:59 1994 +0000 +++ b/config.bat Sun May 08 20:30:46 1994 +0000 @@ -96,7 +96,7 @@ 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 @@ 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 cd .. @@ -125,4 +125,4 @@ set MAKEFILEIN= set PATHSH= set CONFIGH= - +