git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Add uninstall target to Makefile

From
CWChris Wright <chrisw@osdl.org>
Date
Sep 16, 2005, 18:08 UTC
Message-ID
<20050916180810.GK8041@shell0.pdx.osdl.net>
In-Reply-To
<20050916175402.GC22825@tuxdriver.com>
* John W. Linville (linville@tuxdriver.com) wrote:
Show 5 quoted lines
> > 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

Previous: John W. LinvilleNext: John W. Linville
Message 4 of 9 in “Add uninstall target to Makefile”
  1. Martin AtukundaSep 16, 2005
  2. Junio C HamanoSep 16, 2005
  3. John W. LinvilleSep 16, 2005
  4. Chris WrightSep 16, 2005
  5. John W. LinvilleSep 16, 2005
  6. Junio C HamanoSep 16, 2005
  7. Johannes SchindelinSep 16, 2005
  8. Martin AtukundaSep 18, 2005
  9. Junio C HamanoSep 16, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.