From: Eli Zaretskii Date: Sat, 14 Apr 2018 12:52:40 +0000 (+0300) Subject: Fix building etc/DOC in the MSDOS port X-Git-Tag: emacs-26.1~74 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5a6bb01777e40a87ac59162d9833a13c81b7f292;p=emacs.git Fix building etc/DOC in the MSDOS port * msdos/sed1v2.inp (lisp.mk): Fix escaping in Sed commands. --- diff --git a/msdos/sed1v2.inp b/msdos/sed1v2.inp index 8b68cb7507a..8505656a66a 100644 --- a/msdos/sed1v2.inp +++ b/msdos/sed1v2.inp @@ -165,8 +165,8 @@ s/ *@LIBXPM@// /^lisp\.mk:/,/^$/c\ lisp.mk: $(lispsource)/loadup.el\ @rm -f $@\ - ${AM_V_GEN}printf 'shortlisp = \\n' > $@\ - ${AM_V_GEN}sed -n 's/^[ \t]*(load "\([^"]*\)".*/\1/p' $< | sed -e "s/$/.elc \/" -e "s/\.el\.elc/.el/" >> $@\ + ${AM_V_GEN}printf 'shortlisp = \\\\\\n' > $@\ + ${AM_V_GEN}sed -n 's/^[ \t]*(load "\\([^"]*\\)".*/\\1/p' $< | sed -e "s/\$\$/.elc \\\\/" -e "s/\\.el\\.elc/.el/" >> $@\ ${AM_V_GEN}djecho "" >> $@ #"