[FFmpeg-cvslog] r21226 - in trunk: Makefile common.mak subdir.mak

Måns Rullgård mans
Tue Jan 26 23:29:14 CET 2010


Reimar D?ffinger <Reimar.Doeffinger at gmx.de> writes:

> On Tue, Jan 26, 2010 at 09:58:36PM +0000, M?ns Rullg?rd wrote:
>> When used like that "make install" is dangerous, yes.  That is,
>> however, not what any responsible person would do.  The correct usage
>> is to "make install" into a clean staging area, then use the system
>> package manager to merge that into the filesystem, during which
>> process it will check for collisions and record the files thus
>> installed so they can later be removed.
>> 
>> The "install" target is useful to create the correct layout in the
>> staging area, including symlinks etc.  There is however no need for an
>> "uninstall" target.
>
> If used in the way you say not, however I think current default behaviour
> contradicts this very much.
> If this is what we want, make install should refuse to work on any
> non-empty directory, and it "sure as hell" should not default to
> install in /usr/local, because that can be quite a pain to get things
> extracted out again without a uninstall target.

I wouldn't at all mind if "make install" refused to clobber an
existing directory.

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-cvslog mailing list