Mercurial > emacs
comparison msdos/mainmake.v2 @ 30535:442861d7c78a
(src): Make the rule faster by using a single djecho
command instead of multiple redir invocations.
(install): Speed up by using a command.com's for loop.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Mon, 31 Jul 2000 10:09:44 +0000 |
parents | b2c3baf84d16 |
children | 296c06699a96 |
comparison
equal
deleted
inserted
replaced
30534:cddd0f1a86b1 | 30535:442861d7c78a |
---|---|
56 cd .. | 56 cd .. |
57 | 57 |
58 src: FRC | 58 src: FRC |
59 cd src | 59 cd src |
60 $(MAKE) top_srcdir=${top_srcdir} | 60 $(MAKE) top_srcdir=${top_srcdir} |
61 redir -o gdb.sed echo '/-geometry/s,^.*,set environment HOME $(top_srcdir),' | 61 djecho -s '/-geometry/s,^.*,set environment HOME $(top_srcdir),' \ |
62 redir -oa gdb.sed echo '/environment *TERM/s/^.*/set environment TERM internal/' | 62 '/environment *TERM/s/^.*/set environment TERM internal/' \ |
63 redir -oa gdb.sed echo '/x_error_quitter/s/^.*/set environment NAME root/' | 63 '/x_error_quitter/s/^.*/set environment NAME root/' >gdb.sed |
64 redir -o gdb.tmp sed -f gdb.sed _gdbinit | 64 sed -f gdb.sed _gdbinit >gdb.tmp |
65 redir -oa gdb.tmp echo 'set environment USER root' | 65 djecho -a -s 'set environment USER root' \ |
66 redir -oa gdb.tmp echo 'set environment EMACSPATH $(top_srcdir)/bin' | 66 'set environment EMACSPATH $(top_srcdir)/bin' \ |
67 redir -oa gdb.tmp echo 'set environment SHELL $(subst \,/,$(COMSPEC))' | 67 'set environment SHELL $(subst \,/,$(COMSPEC))' \ |
68 redir -oa gdb.tmp echo 'set environment PATH $(subst \,/,$(PATH))' | 68 'set environment PATH $(subst \,/,$(PATH))' >>gdb.tmp |
69 update gdb.tmp gdb.ini | 69 update gdb.tmp gdb.ini |
70 rm -f gdb.tmp gdb.sed | 70 rm -f gdb.tmp gdb.sed |
71 cd .. | 71 cd .. |
72 if exist leim\Makefile redir $(MAKE) -C leim top_srcdir=${top_srcdir} | 72 if exist leim\Makefile redir $(MAKE) -C leim top_srcdir=${top_srcdir} |
73 | 73 |
77 cd .. | 77 cd .. |
78 | 78 |
79 install: all | 79 install: all |
80 if not exist bin\nul md bin | 80 if not exist bin\nul md bin |
81 cd lib-src | 81 cd lib-src |
82 if exist hexl.exe mv -f hexl.exe ../bin | 82 command.com /c >/dev/null for %p in (hexl etags ctags b2m ebrowse) do\ |
83 if exist etags.exe mv -f etags.exe ../bin | 83 if exist %p.exe mv -f %p.exe ../bin |
84 if exist ctags.exe mv -f ctags.exe ../bin | |
85 if exist b2m.exe mv -f b2m.exe ../bin | |
86 if exist ebrowse.exe mv -f ebrowse.exe ../bin | |
87 if exist fns.el update fns.el ../bin/fns.el | 84 if exist fns.el update fns.el ../bin/fns.el |
88 cd .. | 85 cd .. |
89 cd src | 86 cd src |
90 stubify emacs | 87 stubify emacs |
91 stubedit emacs.exe minstack=512k | 88 stubedit emacs.exe minstack=512k |