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 15:29:00 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Espen Wiborg wrote:

> The problem is that the generated sed script is missing a line
> continuation backslash.

It works for me on several varieties of RHEL, and on Debian testing.

> The following patch fixes:

Not for me. Applying this patch, my generated Makefile.in ends up
containing:

ELCFILES = \\
         $(lisp)/abbrev.elc \

rather than

ELCFILES = \
         $(lisp)/abbrev.elc \

I guess it's something to do with sed and/or /bin/sh versions.

(It's not vital that this command work for everyone, though of course
that is what I would like.)


> Index: lisp/Makefile.in
> ===================================================================
> RCS file: /cvsroot/emacs/emacs/lisp/Makefile.in,v
> retrieving revision 1.123
> diff -c -r1.123 Makefile.in
> *** lisp/Makefile.in  27 May 2008 02:14:46 -0000      1.123
> --- lisp/Makefile.in  27 May 2008 13:21:27 -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 = \\\\\\\\\\" >> 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
>


> Thermodynamics in a nutshell:
> 1st Law:  You can't win.  (Energy is conserved)
> 2nd Law:  You can't break even.  (Entropy)
> 0th Law:  You can't even quit the game.  (Closed systems) -- Taki Kogoma

I thought that was C.P. Snow.




reply via email to

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