[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: infinite 'make' recursion building Emacs
From: |
Eli Zaretskii |
Subject: |
Re: infinite 'make' recursion building Emacs |
Date: |
Sat, 20 May 2006 20:04:22 +0300 |
> Date: Sat, 20 May 2006 15:32:17 +0200
> From: "Chris Moore" <address@hidden>
>
> make[1]: Leaving directory `/mnt/breezy/home/chris/programs/emacs/lispref'
> (cd lispintro; make info)
> /bin/sh: line 0: cd: lispintro: No such file or directory
> make[1]: Entering directory `/mnt/breezy/home/chris/programs/emacs'
> (cd man; make -w info)
> /bin/sh: line 0: cd: man: No such file or directory
> make[2]: Entering directory `/mnt/breezy/home/chris/programs/emacs'
> (cd man; make -w info)
> /bin/sh: line 0: cd: man: No such file or directory
> make[3]: Entering directory `/mnt/breezy/home/chris/programs/emacs'
> (cd man; make -w info)
> /bin/sh: line 0: cd: man: No such file or directory
> make[4]: Entering directory `/mnt/breezy/home/chris/programs/emacs'
> (cd man; make -w info)
> /bin/sh: line 0: cd: man: No such file or directory
> [...]
>
> This kept going until I had around 600 make processes and the system
> ground to a halt.
Does it help if you replace this line in the top-level Makefile:
-(cd lispintro; $(MAKE) $(MFLAGS) info)
with this:
-(cd lispintro || exit 1; $(MAKE) $(MFLAGS) info)