An option (or environment variable) setting for "mkuninstalldirs"?  And
perhaps the default "do nothing"?  Or simply print out "I'd like to remove
$x dir" and leave it to the sysadmin to decide?

-----Original Message-----
From: Pavel Roskin [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 15, 2000 11:19 AM
To: Masterson, David
Cc: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'
Subject: Re: FW: shall `make uninstall' remove directories?


Hello, David!

> Therefore, I think I'd suggest, as "make install" has a call to
> "mkinstalldirs" before the loop to install files, perhaps "make uninstall"
> should have a call to "mkuninstalldirs" after the loop to remove files.
The
> "mkuninstalldirs" script can handle the cleanup of supposedly dead
> directories (including having environment variables and/or options that
> would allow sysadmins/packagers to decide how much they want to clean up).
> As "mkinsalldirs" is packaged with automake, so could "mkuninstalldirs".

Even empty directories do contain information. They have permissions and
ownership. Who is to blame if mkuninstalldirs removes /usr/local/share
"for you" and then somebody recreates this directory without giving you
write access?

While setting default permissions on the newly created directories seems
reasonable (you can adjust them later) this may not apply to deleting
directories.

Regards,
Pavel Roskin

Reply via email to