Use `sed' instead of `cp', which might not be installed.
[emacs.git] / msdos / sed1v2.inp
blobf7c127b29e6fa9444dc7520d741602477d6d46fa
1 # -sed1v2.inp-----------------------------------------------------------
2 # Configuration script for src/makefile under DJGPP v2.x
3 # ----------------------------------------------------------------------
4 s/^#.*//
5 s/^[ \f\t][ \f\t]*$//
6 s/^ /   /
7 s/\.h\.in/.h-in/
8 /^      \.\/temacs/i\
9         stubedit temacs.exe minstack=40k
10 /^MAKE *=/s/^/# /
11 /^SHELL *=/s/^/# /
12 /^srcdir *=/s/@[^@\n]*@/./
13 /^VPATH *=/s/@[^@\n]*@/./
14 /^CC *=/s/@[^@\n]*@/gcc/
15 /^CPP *=/s/@[^@\n]*@/gcc -e/
16 /^CFLAGS *=/s/@[^@\n]*@/-O2 -g/
17 /^LN_S *=/s/@[^@\n]*@/ln -s/
18 /^M_FILE *=/s!@[^@\n]*@!m/intel386.h!
19 /^S_FILE *=/s!@[^@\n]*@!s/msdos.h!
20 /^@SET_MAKE@$/s/@SET_MAKE@//
21 /^.\${libsrc}make-docfile.*>/s!make-docfile!make-docfile -o ../etc/DOC!
22 /^.\${libsrc}make-doc/s!>.*$!!
23 /^[\f    ]*$/d
24 /^temacs:/s/prefix-args//
25 /^      #/d