David,
On Thu, 11 Mar 2004, Giaretta, DL (David) wrote:
> after a cvs update, what is the sequence of commands to build everything
> again. I've had problems doing that.
If you've just updated a particular directory, then just `make' should
do it. That applies even if it was one of Makefile.am or
configure.ac that was updated, since the makefile knows the relevant
dependencies and will reconfigure things if necessary. Or you can run
autoreconf;./configure again.
If you want to go from the top, it's slightly different, because the
objects the top-level makefile brings up-to-date are the manifest files,
stored in /your-star/manifests, and these depend only on each other.
Thus if you update the tree, and then type `make', probably nothing will
happen, because all the manifests' dependencies are still satisfied.
If you want to bring things globally up-to-date from the top level,
then you could nuke the .../manifests directory, and that would
rebuild from scratch, though since most of the components are
pretty-much rebuilt anyway, there's likely little would have to be
done, and all the time would be taken up by installing each component
again.
It would be possible to produce something that worked its way through
the tree rebuilding and reinstalling only those components that needed
it, but there's probably a couple of gotchas lurking in there.
Ultimately, the top-level makefile and the component makefiles are
doing slightly different things, and the top-level one is pretty much
focused on a complete build from scratch.
Does that sound like the problem you were having?
Norman
--
---------------------------------------------------------------------------
Norman Gray http://www.astro.gla.ac.uk/users/norman/
Physics and Astronomy, University of Glasgow, UK [log in to unmask]
|