Mercurial > emacs
changeset 100413:ad9479019a3b
(uninstall): Remove desktop file and icons, game scores if empty.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Sat, 13 Dec 2008 20:32:30 +0000 |
parents | a33d5ccc3933 |
children | 3af4af715c06 |
files | ChangeLog Makefile.in |
diffstat | 2 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Sat Dec 13 20:12:08 2008 +0000 +++ b/ChangeLog Sat Dec 13 20:32:30 2008 +0000 @@ -5,6 +5,7 @@ (MAN_PAGES): New variable. (install-arch-indep, uninstall): Use MAN_PAGES for list of files to add and remove. + (uninstall): Remove desktop file and icons, game scores if empty. 2008-12-11 Dan Nicolaescu <dann@ics.uci.edu>
--- a/Makefile.in Sat Dec 13 20:12:08 2008 +0000 +++ b/Makefile.in Sat Dec 13 20:32:30 2008 +0000 @@ -662,7 +662,12 @@ done;) (cd $(DESTDIR)${man1dir} && rm -f $(MAN_PAGES)) (cd $(DESTDIR)${bindir} && rm -f $(EMACSFULL) $(EMACS)) - + (cd $(DESTDIR)${icondir} && rm -f hicolor/*x*/apps/emacs* hicolor/scalable/*/emacs*) + -rm -f $(DESTDIR)${desktopdir}/emacs.desktop + for file in snake-scores tetris-scores; do \ + file=$(DESTDIR)${gamedir}/$${file}; \ + [ -s $${file} ] || rm -f $$file; \ + done FRC: