222 |
els=`echo $$elpat $(DONTCOMPILE) $(DONTCOMPILE) $(COMPILE_FIRST) | \ |
els=`echo $$elpat $(DONTCOMPILE) $(DONTCOMPILE) $(COMPILE_FIRST) | \ |
223 |
tr ' ' '\012\012' | sort | uniq -u`; \ |
tr ' ' '\012\012' | sort | uniq -u`; \ |
224 |
for el in $(COMPILE_FIRST) $$els; do \ |
for el in $(COMPILE_FIRST) $$els; do \ |
225 |
echo Compiling $$el; \ |
if test -f $$el; \ |
226 |
$(emacs) -f batch-byte-compile-if-not-done $$el || exit 1; \ |
then \ |
227 |
|
echo Compiling $$el; \ |
228 |
|
$(emacs) -f batch-byte-compile-if-not-done $$el || exit 1; \ |
229 |
|
fi \ |
230 |
done |
done |
231 |
|
|
232 |
# Compile all Lisp files, except those from DONTCOMPILE. This |
# Compile all Lisp files, except those from DONTCOMPILE. This |
239 |
els=`echo $$elpat $(DONTCOMPILE) $(DONTCOMPILE) $(COMPILE_FIRST) | \ |
els=`echo $$elpat $(DONTCOMPILE) $(DONTCOMPILE) $(COMPILE_FIRST) | \ |
240 |
tr ' ' '\012\012' | sort | uniq -u`; \ |
tr ' ' '\012\012' | sort | uniq -u`; \ |
241 |
for el in $(COMPILE_FIRST) $$els; do \ |
for el in $(COMPILE_FIRST) $$els; do \ |
242 |
echo Compiling $$el; \ |
if test -f $$el; \ |
243 |
$(emacs) -f batch-byte-compile $$el || exit 1; \ |
then \ |
244 |
|
echo Compiling $$el; \ |
245 |
|
$(emacs) -f batch-byte-compile $$el || exit 1; \ |
246 |
|
fi \ |
247 |
done |
done |
248 |
|
|
249 |
compile-calc: |
compile-calc: |