Re: [AD] New WIP

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Thu, Aug 24, 2000 at 08:09:03AM +0700, Michael Bukin wrote:
> This will not work because some files which should go into library are
> not in CVS (configure, makefile.dep, maybe some others).  Running
> autoconf, then configure script and 'make depend' produce some files,
> which should not be placed to library (config.cache, config.log), but
> AFAIK, there is no way to clean these with Unix makefile, only
> together with some files which should go to library.

OK, I think that zipup.sh should create these files, either
itself or via a separate script.

> I think we should put all files that should go into distribution, and
> are not generated by zipup.sh or mkunixdists.sh into CVS, or add
> another script that will generate these files.  I think we should do
> both, so CVS will be usable out of the box, and we'll be able to
> recreate all necessary files automatically.

We should definitely do the second, but I'm not sure about the
first.  Part of the problem with this is that CVS works to a
large extent using timestamps.  If a generated file is
regenerated, CVS will think it has changed, and download it from
the server again in order to perform a diff.  Maybe after that
there were no changes, and then it will just record the new
timestamp, but it takes some time to do this for a lot of files.
This can happen every time someone does an update or commit.
Also, it feels like there's a higher chance of conflicts if
there are differences in something like the makefile.dep file.

Perhaps we can make this script separate from zipup.sh, but
maybe called by it (fixcvs.sh?), and then run it whenever
necessary, e.g. when a commit changes which files include which
other files.  We could make a zip of these files, and upload it
when they change, if it's important that people without all the
required tools to be able to use the CVS version, and if changes
to these files are rare enough.  If the changes are frequent, it
would be annoying to upload it all the time.

George

-- 
Random project update:
09/05/2000: Libnet 0.10.8 uploaded -- a few bugfixes
        http://www.canvaslink.com/libnet/  (try changes-0.10.8.txt)



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/