On Thu, 2003-01-02 at 16:38, Raymond Toy wrote:
> >>>>> "James" == James Amundson <amundson@fnal.gov> writes:
>
> James> I'm not quite sure what either of you have in mind. The *.mk files are
> James> unavoidable if you want (1) make to only rebuild an image if the source
> James> files have changed and (2) to have the list of source files determined
> James> solely by maxima.system. (I spent a couple of years of my professional
>
> It seems to me that maxima.system contains the list of Lisp files
> needed to build the entire system.
Yup. That's the point. The *-depends.mk files communicate the
information in maxima.system to make.
> I was basically wondering why both
> the *.mk and maxima.system files need to be maintained.
They don't!
> Could not the
> *.mk files be created from maxima.system?
They are! The *-depends.mk files are automatically updated by make. In
general, generated files should not be checked in to CVS. I made an
exception for the *.mk files because experience has taught me that
having make include files that are generated by make occasionally leads
to problems that confuse non-experts. Simply checking the *.mk files
into CVS eliminates 99% of such problems. If you do a "cvs log" of the
*.mk files, you will find my comments to this effect.
--Jim