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 339807 - 'make uninstall' needs to be tweaked
'make uninstall' needs to be tweaked
Status: RESOLVED FIXED
Product: sabayon
Classification: Deprecated
Component: general
2.12.x
Other Linux
: Normal minor
: ---
Assigned To: Maintainers of sabayon
Maintainers of sabayon
Depends on:
Blocks:
 
 
Reported: 2006-04-26 12:35 UTC by Joseph Sacco
Modified: 2006-09-28 09:32 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
Joseph Sacco's Makefile.am civility patch (842 bytes, patch)
2006-09-28 04:11 UTC, Travis Reitter
none Details | Review

Description Joseph Sacco 2006-04-26 12:35:09 UTC
'make uninstall' needs to be more civil about removing sabayon files from pam.d/ and security/console.apps/. See below.

-Joseph
=================================================================================
 


 uninstall-local:
-       rmdir $(DESTDIR)$(sysconfdir)/desktop-profiles/
+       rmdir --ignore-fail-on-non-empty $(DESTDIR)$(sysconfdir)/desktop-profiles/
 @CONSOLE_HELPER_TRUE@  rm -f $(DESTDIR)$(PAM_PREFIX)/pam.d/sabayon
 @CONSOLE_HELPER_TRUE@  rm -f $(DESTDIR)$(PAM_PREFIX)/security/console.apps/sabayon
-@CONSOLE_HELPER_TRUE@  rmdir $(DESTDIR)$(PAM_PREFIX)/pam.d
-@CONSOLE_HELPER_TRUE@  rmdir $(DESTDIR)$(PAM_PREFIX)/security/console.apps
+@CONSOLE_HELPER_TRUE@  rmdir --ignore-fail-on-non-empty $(DESTDIR)$(PAM_PREFIX)/pam.d
+@CONSOLE_HELPER_TRUE@  rmdir --ignore-fail-on-non-empty $(DESTDIR)$(PAM_PREFIX)/security/console.apps
Comment 1 Travis Reitter 2006-09-28 04:11:17 UTC
Created attachment 73530 [details] [review]
Joseph Sacco's Makefile.am civility patch

This is a unified diff format of Joseph's change.

Could someone apply this?
Comment 2 Daniel Veillard 2006-09-28 09:32:23 UTC
Okay, applied and commited,

Daniel