Assar Westerlund writes:
> Currently automake does not remove directories in `make uninstall' and
> I did not find any text regarding this in the GNU coding guidelines
> either.  So what's the right thing to do here?
> 
> 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) seems obviously wrong.  b) requires keeping track.  c) requires an
> unminstall-dirs. but d) almost seems to make sense.
> 
> Any comments?

 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?).

 That said, automake is not a package system. So, IMNSHO, 'make uninstall'
 should not remove *any* dirs, just those files installed by 'make install'.
 Package-specific dirs *may* be ok to remove.

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

-- 
It is easier to change the specification to fit the program than vice
versa.

Reply via email to