[Mplayer-cvslog] CVS: main Makefile,1.305,1.306

Diego Biurrun CVS syncmail at mplayerhq.hu
Mon Oct 18 11:19:07 CEST 2004


CVS change done by Diego Biurrun CVS

Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv31024

Modified Files:
	Makefile 
Log Message:
Menu entry for all freedesktop.org compliant window managers.
patch by Piero di Vita <scognito at libero dot it> uninstall by me


Index: Makefile
===================================================================
RCS file: /cvsroot/mplayer/main/Makefile,v
retrieving revision 1.305
retrieving revision 1.306
diff -u -r1.305 -r1.306
--- Makefile	11 Oct 2004 19:26:12 -0000	1.305
+++ Makefile	18 Oct 2004 09:19:05 -0000	1.306
@@ -306,6 +306,10 @@
 	@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 @@
 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:




More information about the MPlayer-cvslog mailing list