Fix building etc/DOC in the MSDOS port

* msdos/sed1v2.inp (lisp.mk): Fix escaping in Sed commands.
This commit is contained in:
Eli Zaretskii 2018-04-14 15:52:40 +03:00
parent 274c979649
commit 5a6bb01777

View 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 "" >> $@
#"