s/^[ \f\t][ \f\t]*$//
s/^ / /
s/\.h\.in/.h-in/
-/^ LC_ALL=C \.\/temacs/i\
+/^ LC_ALL=C \$(RUN_TEMACS)/i\
stubedit temacs.exe minstack=100k
-/^ LC_ALL=C.*temacs/s/LC_ALL=C/set &;/
+/^ LC_ALL=C.*\$(RUN_TEMACS)/s/LC_ALL=C/set &;/
/^MAKE *=/s/^/# /
/^SHELL *=/s/^/# /
/^srcdir *=/s/@[^@\n]*@/./
/^LIBOBJS *=/s/@[^@\n]*@/getloadavg.o/
/^GETLOADAVG_LIBS *=/s/@[^@\n]*@//
/^LIBSOUND *=/s/@LIBSOUND@//
+/^EXEEXT *=/s/@EXEEXT@//
/^LN_S *=/s/@[^@\n]*@/ln -s/
/^M_FILE *=/s!@[^@\n]*@!m/intel386.h!
/^S_FILE *=/s!@[^@\n]*@!s/msdos.h!
command.com /c if exist .gdbinit rm -f _gdbinit
/^ else mv \.\/\.gdbinit/d
/^ #/d
+/^ cd.*make-docfile/s!$!; cd ${dot}${dot}/src!
s/bootstrap-emacs/b-emacs/
s/bootstrap-temacs/b-temacs/
s/bootstrap-doc/b-doc/
/rm -f bootstrap-emacs/s/b-emacs/b-emacs b-emacs.exe/
/^ els=/c\
${libsrc}make-docfile -o ${etc}DOC -d ${srcdir} ${SOME_MACHINE_LISP:.elc=.el} ${shortlisp:.elc=.el} ${SOME_MACHINE_OBJECTS} ${obj}
+s/echo.*buildobj.lst/dj&/
/^ mv -f emacs/a\
- stubify emacs\
- stubedit emacs.exe minstack=1024k\
- mv -f emacs.exe b-emacs.exe\
- rm -f temacs.exe
+ stubify b-emacs\
+ stubedit b-emacs.exe minstack=1024k\
+ rm -f emacs.exe temacs.exe emacs
+/^ rm -f/s/\\#/#/
+
+# arch-tag: c7e3aacb-4162-460e-99f9-4252bca68d2c