Mercurial > emacs
changeset 7313:68d20ebaf64e
entered into RCS
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 04 May 1994 07:01:35 +0000 |
parents | 102e78c0fb9a |
children | 1d78b0a43c59 |
files | config.bat |
diffstat | 1 files changed, 9 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/config.bat Wed May 04 05:48:53 1994 +0000 +++ b/config.bat Wed May 04 07:01:35 1994 +0000 @@ -103,8 +103,16 @@ rem ---------------------------------------------------------------------- Echo Configuring the library source directory... cd lib-src +set MAKEFILEIN=makefile.in-in +if exist %MAKEFILEIN% goto libsrc1 +set MAKEFILEIN=makefile-in.in +if exist %MAKEFILEIN% goto libsrc1 +echo makefile: *** The file originally called "lib-src/Makefile.in.in" cannot be found. +cd .. +goto end +:libsrc1 rem Create "makefile" from "makefile.in". -sed -e "s@^# \(Generated.*\)$@/* \1 */@" -e "s@/\*\*/#\(.*\)$@/* \1 */@" <Makefile.in >junk.c +sed -e "s@^# \(Generated.*\)$@/* \1 */@" -e "s@/\*\*/#\(.*\)$@/* \1 */@" <%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 ..