Ar an fichiú lá de mí Márta, scríobh Henry S. Thompson:
Aidan Kehoe writes:
Ar an fichiú lá de mí Márta, scríobh Henry S. Thompson:
After doing a pull -u that doesn't change much, and a make that succeeds, the result doesn't have an up-to-date value for emacs-version.
The only way I've found to reliably get that updated is to do
make distclean
make
which feels like using a sledgehammer to swat a fly.
Surely there's a simpler/quicker way?
The following should do it:
rm lisp/version.elc
make
I don't _think_ that will do what we need. version.el appeals to emacs-extra-name, which is defined in emacs.c, appealing to XEMACS_EXTRA_NAME, which is defined in [src/config.h], which is not rebuilt by the above...
Looking into this a bit more (after a year ...), XEMACS_EXTRA_NAME is updated by ./configure, and after a pull -u and a make that isn’t run. Re-running that
explicitly does it.
We could add rules to the Makefiles to call hg id at the same time we re-generate dump-id.c, and have a separate include file that defines XEMACS_EXTRA_NAME.
Is this impacting your workflow significantly?
--
‘As I sat looking up at the Guinness ad, I could never figure out / How your man stayed up on the surfboard after fourteen pints of stout’ (C. Moore)
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)