Le 4600 Septembre 1993, Matthieu Moy a tapoté:
> Don't spend too much time on this, it's not a /so/ serious bug (but it

[...]

> Actual behavior: the last "make" tries to recompile some other files
> before dvc-lisp.el, which raises an error, which in turn aborts the
> build. So, the "make" and all subsequent make will fail untill
> dvc-lisp.elc get deleted.
>
> This is the problem that the explicit dependencies in the old
> Makefiles was intended to solve.

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 :-/.

We should make a new target in Makefile to clean old .elc before
autoloads generation,

I always stuck on function naming so give me your opinion:

- package-maint-clean-some-elc: build the list of changed source
  files and call package-maint-clean-elc with this list as argument,
  it will return the list of files which need byte-compilation

- package-maint-clean-elc: clean the .elc of the files passed as
  argument and their reverse dependencies.

Note that this changed the current behavior of
package-maint-clean-some-elc, I don't know if it interess someone but
it's worth telling it.

Regards.
-- 
Daniel 'NebuchadnezzaR' Dehennin
Récupérer ma clef GPG:
gpg --keyserver pgp.mit.edu --recv-keys 0x2A408F69

_______________________________________________
Xtla-el-dev mailing list
[email protected]
https://mail.gna.org/listinfo/xtla-el-dev

Reply via email to