emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make bootsrap problems


From: Glenn Morris
Subject: Re: make bootsrap problems
Date: Tue, 27 May 2008 21:04:48 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Glenn Morris wrote:

> I think I see what's going on now. I'm guessing you have /bin/sh
> pointing to zsh. zsh's echo behaves differently from bash's with
> regards to these backslash escapes:
>
> bash> echo "ELCFILES = \\\\\\"   ->    ELCFILES = \\\
> zsh>  echo "ELCFILES = \\\\\\"   ->    ELCFILES = \\

The following ought to work for everyone. Blech.

(Yes, I know I should be using printf rather than echo, but it isn't
used anywhere else in the Emacs Makefiles, so I don't know if I'm
allowed to.)


*** Makefile.in 27 May 2008 02:14:46 -0000      1.123
--- Makefile.in 28 May 2008 00:52:31 -0000
***************
*** 164,170 ****
  ## building Emacs.
  update-elclist:
        echo "/^ELCFILES/,/^$$/c\\" > temp.sed
!       echo "ELCFILES = \\\\\\" >> temp.sed
        exclude=`echo $(COMPILE_FIRST) | sed -e 's, ,\\\\|,g' -e 
's,\/,\\\\/,g'`; \
        ls $(lisp)/*.elc $(lisp)/*/*.elc | sed -e "/$$exclude/d" -e 
"s|^$(lisp)|        \$$(lisp)|" -e 's/$$/ \\\\\\/' -e '$$ s/ \\\\//' >> temp.sed
        echo "" >> temp.sed
--- 164,170 ----
  ## building Emacs.
  update-elclist:
        echo "/^ELCFILES/,/^$$/c\\" > temp.sed
!       echo "ELCFILES =" | sed -e 's/$$/ \\\\\\/' >> temp.sed
        exclude=`echo $(COMPILE_FIRST) | sed -e 's, ,\\\\|,g' -e 
's,\/,\\\\/,g'`; \
        ls $(lisp)/*.elc $(lisp)/*/*.elc | sed -e "/$$exclude/d" -e 
"s|^$(lisp)|        \$$(lisp)|" -e 's/$$/ \\\\\\/' -e '$$ s/ \\\\//' >> temp.sed
        echo "" >> temp.sed




reply via email to

[Prev in Thread] Current Thread [Next in Thread]