Re: Add uninstall target to Makefile

5 messages, 4 authors, 2016-06-15 · open the first message on its own page

Re: Add uninstall target to Makefile

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:06

Martin Atukunda [off-list ref] writes:
Add the uninstall target to the Makefile.
Sorry, I absolutely detest other peoples' Makefiles that has
this target.  Why would anybody want this?

Re: Add uninstall target to Makefile

From: John W. Linville <hidden>
Date: 2016-06-15 22:42:06

On Fri, Sep 16, 2005 at 10:08:04AM -0700, Junio C Hamano wrote:
Martin Atukunda [off-list ref] writes:
quoted
Add the uninstall target to the Makefile.
Sorry, I absolutely detest other peoples' Makefiles that has
this target.  Why would anybody want this?
Is this a serious question?  To uninstall the binaries e.g. if you
installed them in the wrong place?
-- 
John W. Linville
linville@tuxdriver.com

Re: Add uninstall target to Makefile

From: Chris Wright <hidden>
Date: 2016-06-15 22:42:06

* John W. Linville (linville@tuxdriver.com) wrote:
quoted
Sorry, I absolutely detest other peoples' Makefiles that has
this target.  Why would anybody want this?
Is this a serious question?  To uninstall the binaries e.g. if you
installed them in the wrong place?
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.

thanks,
-chris

Re: Add uninstall target to Makefile

From: John W. Linville <hidden>
Date: 2016-06-15 22:42:06

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.

John
-- 
John W. Linville
linville@tuxdriver.com

Re: Add uninstall target to Makefile

From: Martin Atukunda <hidden>
Date: 2016-06-15 22:42:06

On Fri, Sep 16, 2005 at 11:08:10AM -0700, Chris Wright wrote:
* John W. Linville (linville@tuxdriver.com) wrote:
quoted
quoted
Sorry, I absolutely detest other peoples' Makefiles that has
this target.  Why would anybody want this?
Is this a serious question?  To uninstall the binaries e.g. if you
installed them in the wrong place?
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.
The external script only removes the symlinks created by ./cmd-rename.sh

- Martin -
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help