xref: /netbsd-src/external/gpl2/groff/dist/arch/djgpp/config.sed (revision e89934bbf778a6d6d6894877c4da59d0c7835b0f)
1# Additional editing of Makefiles and atconfig
2/ac_given_INSTALL=/,/^CEOF/ {
3  /^s%@g@%/a\
4  /path=/s,:,;,g
5}
6
7# DOS-style absolute file names should be supported as well
8/\*) srcdir=/s,/\*,[\\\\/]* | [A-z]:[\\\\/]*,
9/\$]\*) INSTALL=/s,\[/\$\]\*,[\\\\/$]* | [A-z]:[\\\\/]*,
10
11# Who said each line has only \012 at its end?
12/DEFS=`sed -f/s,'\\012','\\012\\015',
13
14# Switch the order of the two Sed commands, since DOS path names
15# could include a colon
16/ac_file_inputs=/s,\( -e "s%\^%\$ac_given_srcdir/%"\)\( -e "s%:% $ac_given_srcdir/%g"\),\2\1,
17