(uninstall): Remove desktop file and icons, game scores if empty.
This commit is contained in:
parent
8e7aa5def5
commit
8bfbbb97da
2 changed files with 7 additions and 1 deletions
|
@ -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>
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue