"Daniel 'NebuchadnezzaR' Dehennin" <[EMAIL PROTECTED]>
writes:
> The problem comes from the autoloads generation, autoloads requires
> dvc-unified which requires dvc-core which requires dvc-lisp, so it
> will load the .elc if it exists :-/.
Not only. If you execute only the
$(EMACS_COMP) -f package-maint-compile
you also get the problem.
> We should make a new target in Makefile to clean old .elc before
> autoloads generation,
I did something which seems to work :
-- orig/lisp/Makefile.in
+++ mod/lisp/Makefile.in
@@ -98,6 +98,11 @@
##############################################################################
autoloads:
+ for file in *.el; do \
+ if [ -f "$${file}c" -a @srcdir@/"$${file}" -nt "$${file}"c ]; then \
+ $(RM) "$${file}c" ; \
+ fi \
+done
$(EMACS_COMP) -f package-maint-make-cus-load $(srcdir)
$(EMACS_COMP) -f package-maint-make-auto-load $(srcdir)
$(EMACS_COMP) -f package-maint-make-load
(commited in my branch)
(doing it in shell is probably faster than from Emacs, but it's OK to
do it in Emacs-lisp also)
--
Matthieu
_______________________________________________
Xtla-el-dev mailing list
[email protected]
https://mail.gna.org/listinfo/xtla-el-dev