Subject: Re: bug#8302: 23.3; Parallel make: some *.el files are byte-compiled twice

From: Dan Nicolaescu <[email-masked]>
Date: Thu, 19 May 2011 08:27:54 -0400

Glenn Morris <[email-masked]> writes:

> Stefan Monnier wrote:
>
>> If it works correctly, that's great.
>
> It works for me... Let's see if it works for everyone else.
>
>> Eliminating the shortlisp-vs-lisp duplication would be the next
>> logical step.
>
> Still can't see how to do that. Hopefully it's a bit easier to keep
> up-to-date now it is almost a literal copy of $lisp.
>
> Something clever with xargs?
>
> Or, $lisp could be in a separate lisp.mk file that configure could
> include into src/Makefile, and then for DOC use something like:
>
>   $(libsrc)/make-docfile -a $(etc)/DOC \
>     -d $(srcdir) `sed 's|$(lispsource)|../lisp|' $(srcdir)/lisp.mk`

Or even better make make-docfile accept arguments from a file, using the
@FILE syntax used by other GNU tools.  That would deal with the command
line length limitations.