[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
DONTCOMPILE in lisp/Makefile.in doesn't work.
From: |
Lute Kamstra |
Subject: |
DONTCOMPILE in lisp/Makefile.in doesn't work. |
Date: |
Mon, 11 Apr 2005 17:15:48 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
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.
- DONTCOMPILE in lisp/Makefile.in doesn't work.,
Lute Kamstra <=