[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: please make byte compiling during bootstrap take advantage of make -
From: |
Eli Zaretskii |
Subject: |
Re: please make byte compiling during bootstrap take advantage of make -j |
Date: |
Wed, 07 May 2008 12:47:51 +0300 |
> From: Glenn Morris <rgm@gnu.org>
> Cc: bug-gnu-emacs@gnu.org, Dan Nicolaescu <dann@ics.uci.edu>
> Date: Tue, 06 May 2008 23:05:06 -0400
>
>
> >> doing what you want boils down to making the `compile:' target
> >> depend on all the .elc files; the rest will be done automatically by
> >> Make.
>
> But how to do this without hard-coding the names of all the .elc files?
And what's wrong with hard-coding them, exactly?
If you are worried about maintenance, then we could have a
maintainer-only target that would update the list, and that target
could use GNU Make features, like you suggest below.
> With GNU make, I would try something like:
>
> compile: $(shell find . -name '*.el' | sed 's/\.el$$/.elc/' )
>
> but I'm sure this is not portable.
Actually, you don't need the Sed part, as $(FOO:.el=.elc) is portable.
- please make byte compiling during bootstrap take advantage of make -j, Dan Nicolaescu, 2008/05/04
- Re: please make byte compiling during bootstrap take advantage of make -j, Eli Zaretskii, 2008/05/04
- Re: please make byte compiling during bootstrap take advantage of make -j, Glenn Morris, 2008/05/05
- Re: please make byte compiling during bootstrap take advantage of make -j, Glenn Morris, 2008/05/06
- Re: please make byte compiling during bootstrap take advantage of make -j,
Eli Zaretskii <=
- Re: please make byte compiling during bootstrap take advantage of make -j, Glenn Morris, 2008/05/07
- Re: please make byte compiling during bootstrap take advantage of make -j, Eli Zaretskii, 2008/05/08
- Re: please make byte compiling during bootstrap take advantage of make -j, Glenn Morris, 2008/05/08
- Re: please make byte compiling during bootstrap take advantage of make -j, Eli Zaretskii, 2008/05/09
- Re: please make byte compiling during bootstrap take advantage of make -j, Dan Nicolaescu, 2008/05/09
- Re: please make byte compiling during bootstrap take advantage of make -j, Eli Zaretskii, 2008/05/09
- Re: please make byte compiling during bootstrap take advantage of make -j, Richard M Stallman, 2008/05/07
bug#189: marked as done (please make byte compiling during bootstrap take advantage of make -j), Emacs bug Tracking System, 2008/05/29