/^# DIST: /d
/^SHELL *=/s/^/# /
/^CC *=/s/=.*$/=gcc/
-/^version *=/s/=.*$/="19.23"/
+# Actually, here we should patch in the exact version number, but only
+# [ce]tags uses it. Don't pass it. This is more update-resistant.
+/-DVERSION=/s/-DVERSION="\\"\${version}\\""//
/^configname *=/s/=.*$/=msdos/
/^archlibdir *=/s!=.*$!=/emacs/bin!
/^bindir *=/s!=.*$!=/emacs/bin!
/^UTILITIES=/s/ movemail//
/^UTILITIES=/s/ emacsserver//
/^UTILITIES=/s/ timer//
+/^all *:/s/$/ make-docfile/
+s!^ go32 ./test-distrib! go32 ./test-dis!
+/-o make-docfile/a\
+ coff2exe make-docfile