After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 646730 - 'make uninstall' doesn't remove gnome-shell binary
'make uninstall' doesn't remove gnome-shell binary
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: general
2.91.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks: GnomeShell301
 
 
Reported: 2011-04-04 17:41 UTC by Adam Dingle
Modified: 2011-04-11 14:59 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
src/Makefile.am: two fixes to the gnome-shell wrapper handling (1.03 KB, patch)
2011-04-04 17:55 UTC, Dan Winship
committed Details | Review

Description Adam Dingle 2011-04-04 17:41:42 UTC
To see the problem, run the following commands in the source directory:

$ make
$ sudo make install
$ sudo make uninstall

The installed gnome-shell binary will still be in place.  (This is /usr/local/bin/gnome-shell if you're using the default installation prefix.)
Comment 1 Dan Winship 2011-04-04 17:55:04 UTC
Created attachment 185126 [details] [review]
src/Makefile.am: two fixes to the gnome-shell wrapper handling

Add an uninstall-hook to undo the effect of install-exec-hook, and add
an $(AM_V_GEN) to the rule that copies either gnome-shell-real or
gnome-shell-jhbuild to gnome-shell.
Comment 2 Owen Taylor 2011-04-05 21:54:55 UTC
Review of attachment 185126 [details] [review]:

I'd have to clean my install directory to know if this actually fixes all 'make uninstall' issues, but patch does what is advertised.
Comment 3 Dan Winship 2011-04-11 14:59:18 UTC
Attachment 185126 [details] pushed as 6abb86d - src/Makefile.am: two fixes to the gnome-shell wrapper handling