This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: FEATURE REQUEST: make uninstall should delete empty directories.
- From: Bob Friesenhahn <bfriesen at simple dot dallas dot tx dot us>
- To: Andrew Suffield <asuffield at debian dot org>
- Cc: automake at gnu dot org
- Date: Sat, 6 Mar 2004 15:23:52 -0600 (CST)
- Subject: Re: FEATURE REQUEST: make uninstall should delete empty directories.
On Thu, 4 Mar 2004, Andrew Suffield wrote:
> > Thus, if I'm right that Automake doesn't know which directories
> > the package owns, it should should err on the side of caution: it
> > should *not* try to delete any empty directories at uninstall
> > time. Neither should Automake try to guess -- guesses involving
> > the "rm" command, especially as root, are a really dangerous
> > idea!
>
> That's why you use the rmdir command.
Semantics equivalent to 'rmdir' may not be available on non-Unix
operating systems. Automake doesn't just run under Unix.
Bob
======================================
Bob Friesenhahn
bfriesen@simple.dallas.tx.us
http://www.simplesystems.org/users/bfriesen