Re: Add uninstall target to Makefile
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Sep 16, 2005, 23:37 UTC
- Message-ID
- <Pine.LNX.4.63.0509170135110.13233@wgmdd8.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <7vu0gkfwak.fsf@assigned-by-dhcp.cox.net>
Hi,
On Fri, 16 Sep 2005, Junio C Hamano wrote:
Show 13 quoted lines
> "John W. Linville" <linville@tuxdriver.com> writes: > > > On Fri, Sep 16, 2005 at 11:08:10AM -0700, Chris Wright wrote: > > > >> Of course package manager will do better at this, but it is useful to be > >> able to uninstall. However, I don't think Martin's external script with > >> all the filenames hardcoded is the right approach. There are $(PROG) > >> and $(SCRIPTS) which already know all these filenames. > > > > I would agree with that. Definitely better to use the same Makefile > > vars used for install to do the uninstall. > > True. That is something I could live with.
Well, IMHO a package manager beats an uninstall target any time of a second. I know that I chose to checkinstall all projects I compiled myself so that I can be sure that no old version keeps lying around taking space for nothin'.
Ciao, Dscho