]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix building etc/DOC in the MSDOS port
authorEli Zaretskii <eliz@gnu.org>
Sat, 14 Apr 2018 12:52:40 +0000 (15:52 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 14 Apr 2018 12:52:40 +0000 (15:52 +0300)
* msdos/sed1v2.inp (lisp.mk): Fix escaping in Sed commands.

msdos/sed1v2.inp

index 8b68cb7507a0628c5f8cf3f3d817192516632987..8505656a66a28c98dce1c062fc67416bbe03fd69 100644 (file)
@@ -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 ""  >> $@
 
 #"