View Single Post
  #1   (View Single Post)  
Old 8th September 2009
Mantazz Mantazz is offline
Shell Scout
 
Join Date: Oct 2008
Posts: 90
Default Thoughts on "make deinstall clean"

I am wondering if the result of this command is what was intended. I was building a port on my laptop as an upgrade from a previous version of the same port. I initially gave the command "make install clean" and realized that of course I already had an earlier version of the same. So I brought the command back up and changed it to "make deinstall clean", forgetting to remove the "clean" part.

The result was that the port was deinstalled and the work directory cleaned out. Ooops.

Clearly, make did what I told it to do, I cannot fault it for not outsmarting my bad choice of operators. My question is whether "deinstall" and "clean" are ever a useful combination? From my vantage point, if I am running "deinstall" it is most likely because I am upgrading a package that I just built with make. Why would I want to "deinstall clean"?
Reply With Quote