From 848ca5bd458b30a2dcb73b13ef81e70a1e22b5a1 Mon Sep 17 00:00:00 2001 From: diego Date: Mon, 18 Oct 2004 09:19:05 +0000 Subject: Menu entry for all freedesktop.org compliant window managers. patch by Piero di Vita uninstall by me git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13667 b3059339-0415-0410-9bf9-f77b7e298cf2 --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 84b00be586..00bfd950c7 100644 --- a/Makefile +++ b/Makefile @@ -306,6 +306,10 @@ ifeq ($(GUI),yes) @if test ! -d $(DATADIR)/Skin ; then mkdir -p $(DATADIR)/Skin ; fi @echo "*** Download skin(s) at http://www.mplayerhq.hu/homepage/dload.html" @echo "*** for GUI, and extract to $(DATADIR)/Skin/" + @if test ! -d $(prefix)/share/pixmaps ; then mkdir -p $(prefix)/share/pixmaps ; fi + $(INSTALL) -m 644 Gui/mplayer/pixmaps/mplayer-desktop.xpm $(prefix)/share/pixmaps/mplayer-desktop.xpm + @if test ! -d $(prefix)/share/applications ; then mkdir -p $(prefix)/share/applications ; fi + $(INSTALL) -m 644 etc/mplayer.desktop $(prefix)/share/applications/mplayer.desktop endif @if test ! -d $(CONFDIR) ; then mkdir -p $(CONFDIR) ; fi @if test -f $(CONFDIR)/codecs.conf ; then mv -f $(CONFDIR)/codecs.conf $(CONFDIR)/codecs.conf.old ; fi @@ -324,6 +328,8 @@ endif uninstall: -rm -f $(BINDIR)/$(PRG) $(BINDIR)/gmplayer $(MANDIR)/man1/mplayer.1 -rm -f $(BINDIR)/$(PRG_MENCODER) $(MANDIR)/man1/mencoder.1 + -rm -f $(prefix)/share/pixmaps/mplayer-desktop.xpm + -rm -f $(prefix)/share/applications/mplayer.desktop @echo "Uninstall completed" clean: -- cgit v1.2.3