git-gui: Provide 'uninstall' Makefile target to undo an installation
commit042f53c569c92b40e63c6993c8998d2aac22e383
authorShawn O. Pearce <spearce@spearce.org>
Thu, 13 Sep 2007 23:50:35 +0000 (13 19:50 -0400)
committerShawn O. Pearce <spearce@spearce.org>
Fri, 14 Sep 2007 00:02:39 +0000 (13 20:02 -0400)
treef620e2ebd8088f45905075944a8d2a10d3d10970
parentafe2098ddd3e21d1d1afc428d3c8d91f37b01692
git-gui: Provide 'uninstall' Makefile target to undo an installation

Several users have requested a "make uninstall" target be provided
in the stock git-gui Makefile so that they can undo an install
if git-gui goes to the wrong place during the initial install,
or if they are unhappy with the tool and want to remove it from
their system.

We currently assume that the complete set of files we need to delete
are those defined by our Makefile and current source directory.
This could differ from what the user actually has installed if they
installed one version then attempt to use another to perform the
uninstall.  Right now I'm just going to say that is "pilot error".
Users should uninstall git-gui using the same version of source
that they used to make the installation.  Perhaps in the future we
could read tclIndex and base our uninstall decisions on its contents.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Makefile