On Fri, 14 Mar 2003 09:59:30 +1000, Steve Youngs <youngs(a)xemacs.org> said:
Are these files getting rebuilt unconditionally during 'make
install'?
Is the test for "out-of-date, old or spurious" files not doing its job
properly?
Actually, the problem was even with 'make all' followed by 'make all'.
Beavis, meet Butthead. Butthead, meet Beavis.
Excerpt of 'make all':
Recompiling updated .els in directory tree
`/home/valdis/src/xemacs-21.5/src/../lisp'...
Compiling /home/valdis/src/xemacs-21.5/lisp/finder-inf.el...
Wrote /home/valdis/src/xemacs-21.5/lisp/finder-inf.elc
Recompiling updated .els in directory tree
`/home/valdis/src/xemacs-21.5/src/../lisp'...done
Loading cus-dep...
Requiring cus-face...
Processing /home/valdis/src/xemacs-21.5/lisp
Computing custom-loads for auto-autoloads...
No custom-loads for finder-inf
Generating custom-load.el...
Compiling /home/valdis/src/xemacs-21.5/lisp/custom-load.el...
Wrote /home/valdis/src/xemacs-21.5/lisp/custom-load.elc
Processing /home/valdis/src/xemacs-21.5/lisp/mule
No custom-loads for auto-autoloads
Generating custom-load.el...
Compiling /home/valdis/src/xemacs-21.5/lisp/mule/custom-load.el...
Wrote /home/valdis/src/xemacs-21.5/lisp/mule/custom-load.elc
Building finder database ...
./xemacs -no-packages -batch -eval "(setq finder-compile-keywords-quiet t)"
\
-l finder -f finder-compile-keywords
Wrote /home/valdis/src/xemacs-21.5/lisp/finder-inf.el
So next 'make all', update-elc and update-elc-2 decide we need to re-byte
compile stuff because finder-inf.el was newer than .elc. This of course means
we need to undump. So then in the Makefile:
update-elc-2: $(DUMP_TARGET)
$(XEMACS_BATCH) -no-autoloads -l update-elc-2.el -f batch-update-elc-2 $(LISP)
$(LISP)/finder-inf.el: update-elc-2
@echo "Building finder database ..."
We've undumped, so finder-inf.el needs to be rebuilt. So we rebuild it,
and the next time we 'make all', we notice that we need to re-compile and...
Lather, rinse, repeat...