From: Lute Kamstra <Lute.Kamstra.lists@xs4all.nl>
Subject: DONTCOMPILE in lisp/Makefile.in doesn't work.
Date: Mon, 11 Apr 2005 17:15:48 +0200 [thread overview]
Message-ID: <873btxmjiz.fsf@xs4all.nl> (raw)
Do I understand correctly that DONTCOMPILE in lisp/Makefile.in is a
list of lisp files that should not be compiled? If so, it doesn't
work. Here is the relevant target (the target recompile is similar):
# NOTE about DONTCOMPILE: in the `echo <foo> | sort | uniq -u' we pass
# $(DONTCOMPILE) twice. This is in case one of the files in DONTCOMPILE
# is absent. -stef
compile: $(lisp)/subdirs.el doit
find $(lisp) -name "*.elc" -print | xargs chmod +w >/dev/null 2>&1; \
wd=$(lisp); $(setwins); \
elpat=`echo $$wins | tr ' ' '\012\012' | \
sed -e 's|\(.\)$$|\1/|' -e 's|^\./||' -e 's|$$|*.el|'`; \
els=`echo $$elpat $(DONTCOMPILE) $(DONTCOMPILE) $(COMPILE_FIRST) | \
tr ' ' '\012\012' | sort | uniq -u`; \
for el in $(COMPILE_FIRST) $$els; do \
if test -f $$el; \
then \
echo Compiling $$el; \
$(emacs) -f batch-byte-compile-if-not-done $$el || exit 1; \
fi \
done
If I understand this correctly, the command happily tries to compile
all files in DONTCOMPILE. (Most of the files don't actually get
compiled because they set no-byte-compile via local variables.)
Isn't it better to just do away with DONTCOMPILE and just rely on lisp
files setting no-byte-compile?
Lute.
next reply other threads:[~2005-04-11 15:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-11 15:15 Lute Kamstra [this message]
2005-04-12 2:59 ` DONTCOMPILE in lisp/Makefile.in doesn't work Richard Stallman
2005-04-12 7:54 ` Lute Kamstra
2005-04-13 10:25 ` Lute Kamstra
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=873btxmjiz.fsf@xs4all.nl \
--to=lute.kamstra.lists@xs4all.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).