[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Updating autoloads, custom-deps, finder-data
From: |
Stefan Monnier |
Subject: |
Re: Updating autoloads, custom-deps, finder-data |
Date: |
Sat, 20 Apr 2013 10:54:34 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
> When any of the Lisp files are modified, typing "make" in the
> top-level directory byte-compiles those modified files, as expected,
> but does not invoke "make autoloads", "make custom-deps", and "make
> finder-data" targets. Thus the autoloads and the other meta-data
> regarding the modified Lisp files slowly bit-rots, unless you manually
> invoke those targets or perform a full bootstrap.
> Is this a bug in the build procedure, or am I missing something?
No, I think you're right. There's a dependency on
.bzr/checkout/dirstate that triggers update of autoloads after some
bzr operations, but that's all.
It's a tradeoff:
- rebuilding those files takes a significant amount of time (and
triggers more rebuilds down the road).
- rebuilding custom-deps and finder-data is not tremendously important.
- rebuilding loaddefs can be very important, but is often not needed.
- it's basically impossible to know when a rebuild is actually necessary.
Stefan