diff options
| author | Richard M. Stallman | 1994-05-04 07:01:35 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-05-04 07:01:35 +0000 |
| commit | 315ebba37b0fb71893fdb4a9ca26d2b3aaf1ead0 (patch) | |
| tree | c31d1d37154fdba41122e7ba0d8de79b32c7210b | |
| parent | 6f3c2ad9789bf9c43d2a9fcb8e47e02f1469b3f0 (diff) | |
| download | emacs-315ebba37b0fb71893fdb4a9ca26d2b3aaf1ead0.tar.gz emacs-315ebba37b0fb71893fdb4a9ca26d2b3aaf1ead0.zip | |
entered into RCS
| -rw-r--r-- | config.bat | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/config.bat b/config.bat index d83656c8b20..dd7922b3766 100644 --- a/config.bat +++ b/config.bat | |||
| @@ -103,8 +103,16 @@ cd .. | |||
| 103 | rem ---------------------------------------------------------------------- | 103 | rem ---------------------------------------------------------------------- |
| 104 | Echo Configuring the library source directory... | 104 | Echo Configuring the library source directory... |
| 105 | cd lib-src | 105 | cd lib-src |
| 106 | set MAKEFILEIN=makefile.in-in | ||
| 107 | if exist %MAKEFILEIN% goto libsrc1 | ||
| 108 | set MAKEFILEIN=makefile-in.in | ||
| 109 | if exist %MAKEFILEIN% goto libsrc1 | ||
| 110 | echo makefile: *** The file originally called "lib-src/Makefile.in.in" cannot be found. | ||
| 111 | cd .. | ||
| 112 | goto end | ||
| 113 | :libsrc1 | ||
| 106 | rem Create "makefile" from "makefile.in". | 114 | rem Create "makefile" from "makefile.in". |
| 107 | sed -e "s@^# \(Generated.*\)$@/* \1 */@" -e "s@/\*\*/#\(.*\)$@/* \1 */@" <Makefile.in >junk.c | 115 | sed -e "s@^# \(Generated.*\)$@/* \1 */@" -e "s@/\*\*/#\(.*\)$@/* \1 */@" <%MAKEFILEIN% >junk.c |
| 108 | gcc -E -I. -I../src junk.c | sed -e "s/^ / /" -e "/^#/d" -e "/^[ ]*$/d" >Makefile.new | 116 | gcc -E -I. -I../src junk.c | sed -e "s/^ / /" -e "/^#/d" -e "/^[ ]*$/d" >Makefile.new |
| 109 | sed -f ../msdos/sed3.inp <makefile.new >makefile | 117 | sed -f ../msdos/sed3.inp <makefile.new >makefile |
| 110 | cd .. | 118 | cd .. |