bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#327: 23.0.60; make bootstrap fails from CVS


From: Glenn Morris
Subject: bug#327: 23.0.60; make bootstrap fails from CVS
Date: Tue, 27 May 2008 19:35:30 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Ted Zlatanov wrote:

> The change you introduced to lisp/Makefile.in on 2008-05-21 seems to be
> the problem. 

I was in no doubt of that. :)
What I don't see is how/where.

> It looks like your changes use some bash features, which might be
> the problem for me (I use zsh, I don't know what Make invokes).

make uses SHELL = /bin/sh.

The problem seems to be in the suffix rule. I don't get it.

The simple test below works for me. Does it work for you? Save to
lisp/XXX directory, and do `make -f XXX compile-main'. If it fails,
the make -d output for calc-aent.elc ought to be informative. If it
works, then I don't see what is wrong with the normal lisp/Makefile...


PS your mail went to the wrong addresses. Rather than:
327@emacsbugs.donarmstrong.com, emacs-pretest-bug@gnu.org

it went to emacs-pretest-bug@gnu.org and emacs-devel@gnu.org

with a Followup-To: gmane.emacs.devel.

Or at least, the copy I actually ended up reading did (there are often
multiple copies of things flying around these days).



SHELL = /bin/sh   # works for me with /bin/zsh too

EMACS = ../src/emacs
EMACSOPT = -batch --no-site-file --multibyte

lisp = $(PWD)

emacs = EMACSLOADPATH=$(lisp) LC_ALL=C $(EMACS) $(EMACSOPT)

ELCFILES = \
         $(lisp)/abbrev.elc \
         $(lisp)/calc/calc-aent.elc

compile-main: $(ELCFILES)

.SUFFIXES: .elc .el

.el.elc:
    @echo Compiling $<
    @$(emacs) -f batch-byte-compile $<






reply via email to

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