mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-22 07:09:54 +00:00
(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.
This commit is contained in:
parent
809e1789ed
commit
d04127d3a8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user