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

Re: Add uninstall target to Makefile

From
Junio C Hamano <junkio@cox.net>
Date
Sep 16, 2005, 18:01 UTC
Message-ID
<7v1x3oopsg.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<12c511ca0509161021249c89a9@mail.gmail.com>
Tony Luck <tony.luck@gmail.com> writes:
Show 7 quoted lines
> Perhaps it would be easier[1] to support "make obsolete-uninstall"
> that would remove
> objects installed by previous generations of git?
>
> -Tony
>
> [1] easier, nicer, cleaner, less detestable, whatever.

And how far back a release should we keep track of the name of obsolete versions? /usr/bin/git-uninstall for each particular version that knows what that version ships _might_ make some sense, but I do not see much point in having uninstall target in the Makefile. Should one be allowed to run make uninstall with bindir or DESTDIR set to different values from the ones used when 'make install' was run the last time? What about things like "make WITH_SEND_MAIL=YesPlease install"?

Guys, packaged distributions know how to remove obsolete binaries. OTOH if you are building from the source and installing, you are the only one who knows what you are installing and where.

Previous: Martin Atukunda
Message 9 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.