From: Richard M. Stallman Date: Mon, 15 Apr 1996 18:51:37 +0000 (+0000) Subject: (src): Create a file with sed commands instead of using X-Git-Tag: emacs-19.34~837 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d04127d3a88de749df5b7ae3a48908ca5fce9e99;p=emacs.git (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. --- diff --git a/msdos/mainmake.v2 b/msdos/mainmake.v2 index d24cb939569..38f8d8be5e8 100644 --- a/msdos/mainmake.v2 +++ b/msdos/mainmake.v2 @@ -42,28 +42,25 @@ lib-src: FRC 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