Lars Hecking <[EMAIL PROTECTED]> writes:
> Assar Westerlund writes:
> > a) always remove the directories
> > b) just remove the directories that were created during `make install'
> > c) remove the last level of directory if it's empty
> > d) remove all the levels that are empty
> 
>  A package system like Solaris's pkg does not remove "shared" directories.
>  (not a) c) d); b) maybe, but what if a package installed later uses the
>  same dirs?).

If it's an automake'd package, or it follows the GNU coding
guidelines, it'll mkinstalldirs the directories.

>  That said, automake is not a package system. So, IMNSHO, 'make uninstall'
>  should not remove *any* dirs, just those files installed by 'make install'.

But it does create the directories (if they don't exist already).  I
kind of like the idea of `make install uninstall' leaving everything
as it was before, but that might be hard to do.

>  Package-specific dirs *may* be ok to remove.

I guess that's e)

>  Maybe GNU standards need to be more explicit on this topic.

I agree.

/assar

Reply via email to