1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-24 10:38:38 +00:00

Forcibly remove "# " style comments from makefiles.

This commit is contained in:
Richard M. Stallman 1994-05-08 20:30:46 +00:00
parent 726d0798d6
commit 02b81698a5

View File

@ -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 ..