From: Glenn Morris Date: Sat, 13 Dec 2008 20:32:30 +0000 (+0000) Subject: (uninstall): Remove desktop file and icons, game scores if empty. X-Git-Tag: emacs-pretest-23.0.90~1100 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8bfbbb97da0720353562a2d14b8e6c9a0a247909;p=emacs.git (uninstall): Remove desktop file and icons, game scores if empty. --- diff --git a/ChangeLog b/ChangeLog index 79d5ce402a8..811311b3bb6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 diff --git a/Makefile.in b/Makefile.in index 18f27616e9a..4a725fee874 100644 --- a/Makefile.in +++ b/Makefile.in @@ -662,7 +662,12 @@ uninstall: 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: