While adding the cobyla routines, I forgot to update the list of files
in share/Makefile.am to include all the files needed by cobyla. This is
especially dismaying because a comment there says the sharedir list is
created by running admin/make_share_list. Clearly, this is not the case
because the order in the list is different from make_share_list, which
actually also contains lots of other files.
I think this should be more automatic. I propose that make_share_list
actually be run to create the list during compilation (or configure).
I think there are two options here. One is to assume that the CVS
directories are available. The advantage of that is that we know
precisely what files we should copy because the CVS/Entries file lists
all of the checked-in files. The disadvantage is that you have to have
a CVS checkout.
The second is to just go through all the files in the share directory,
and try to remove the ones we don't want, like (most) of the Fortran
files, the CVS directories, and various junk files like emacs backups
(~<n>~), files like .#foo (which comes from doing cvs diffs, I think.)
The advantage is that this will work if we just have the sources,
without CVS directories. The disadvantage is that some random junk
could get installed because someone accidentally put random stuff there,
or make_share_list failed to filter it out or filtered out too much.
I haven't actually implemented this yet (except for some filtering in
make_share_list), and I haven't figured out how to hook this all
together, but I think it should be done. We should let the computer to
the work.
Ray