1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-02-07 20:54:32 +00:00

(compile, bootstrap-compile): don't use setwins: I'm an idiot.

This commit is contained in:
Stefan Monnier 1999-10-10 19:19:48 +00:00
parent e2fa1e81c0
commit 6f0e64299a

View File

@ -112,8 +112,14 @@ TAGS-LISP: $(lispsource)$(lisptagsfiles1) $(lispsource)$(lisptagsfiles2)
compile: doit
wd=`pwd`; \
find $$wd -name "*.elc" -print | xargs chmod +w; \
$(setwins); \
loadpath="(setq load-path '($$wins))"; \
subdirs=`find $$wd -type d -print`; \
for dir in $$subdirs; do \
case $$dir in \
*/Old | */RCS | */CVS | */=* ) ;; \
*) loadpath="$$loadpath \"$$dir\"" ;; \
esac; \
done; \
loadpath="(setq load-path '($$loadpath))"; \
dont_compile=`echo $(DONTCOMPILE)`; \
for el in $(EL); do \
compile_it=y; \
@ -123,6 +129,7 @@ compile: doit
fi; \
done; \
if test $$compile_it = y; then \
echo $(emacs) --eval "$$loadpath" -f batch-byte-compile $$el; \
$(emacs) --eval "$$loadpath" -f batch-byte-compile $$el; \
else \
echo "Don't compile $$el"; \
@ -136,8 +143,14 @@ compile: doit
bootstrap-compile: doit
wd=`pwd`; \
find $$wd -name "*.elc" -print | xargs rm -f \
$(setwins); \
loadpath="(setq load-path '($$wins))"; \
subdirs=`find $$wd -type d -print`; \
for dir in $$subdirs; do \
case $$dir in \
*/Old | */RCS | */CVS | */=* ) ;; \
*) loadpath="$$loadpath \"$$dir\"" ;; \
esac; \
done; \
loadpath="(setq load-path '($$loadpath))"; \
dont_compile=`echo $(DONTCOMPILE)`; \
for el in $(EL); do \
compile_it=y; \