Mercurial > emacs
changeset 15024:46fab7ac485b
(src): Create a file with sed commands instead of using
a long sed command line (some versions of Sed don't handle that).
(gdb): Merged back into src, undoing April 13 change.
(install): Do use if statements, but not a loop.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 15 Apr 1996 18:51:37 +0000 |
parents | 6f4dd53a62d4 |
children | e5f54fd1c352 |
files | msdos/mainmake.v2 |
diffstat | 1 files changed, 10 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- a/msdos/mainmake.v2 Mon Apr 15 18:48:06 1996 +0000 +++ b/msdos/mainmake.v2 Mon Apr 15 18:51:37 1996 +0000 @@ -42,28 +42,25 @@ src: FRC cd src $(MAKE) - cd .. - -gdb: src - cd src - redir -o gdb.tmp sed \ - -e '/-geometry/s,^.*,set environment HOME $(topdir),' \ - -e '/environment *TERM/s/^.*/set environment TERM internal/' \ - -e '/x_error_quitter/s/^.*/set environment NAME root/' _gdbinit + redir -o gdb.sed echo '/-geometry/s,^.*,set environment HOME $(topdir),' + redir -oa gdb.sed echo '/environment *TERM/s/^.*/set environment TERM internal/' + redir -oa gdb.sed echo '/x_error_quitter/s/^.*/set environment NAME root/' + redir -o gdb.tmp sed -f gdb.sed _gdbinit redir -oa gdb.tmp echo 'set environment USER root' redir -oa gdb.tmp echo 'set environment EMACSPATH $(topdir)/bin' redir -oa gdb.tmp echo 'set environment SHELL $(subst \,/,$(COMSPEC))' redir -oa gdb.tmp echo 'set environment PATH $(subst \,/,$(PATH))' update gdb.tmp gdb.ini + rm -f gdb.tmp gdb.sed cd .. install: all - -md bin + if not exist bin\\nul md bin cd lib-src - -copy hexl.exe ..\\bin - -copy etags.exe ..\\bin - -copy ctags.exe ..\\bin - -copy b2m.exe ..\\bin + if exist hexl.exe mv -f hexl.exe ../bin + if exist etags.exe mv -f etags.exe ../bin + if exist ctags.exe mv -f ctags.exe ../bin + if exist b2m.exe mv -f b2m.exe ../bin cd .. cd src stubify emacs