Mercurial > mplayer.hg
comparison Makefile @ 13666:fdda0475b00d
Menu entry for all freedesktop.org compliant window managers.
patch by Piero di Vita <scognito at libero dot it> uninstall by me
author | diego |
---|---|
date | Mon, 18 Oct 2004 09:19:05 +0000 |
parents | c0bde085511c |
children | 3c6a2b6437df |
comparison
equal
deleted
inserted
replaced
13665:8c4eac32350e | 13666:fdda0475b00d |
---|---|
304 fi | 304 fi |
305 ifeq ($(GUI),yes) | 305 ifeq ($(GUI),yes) |
306 @if test ! -d $(DATADIR)/Skin ; then mkdir -p $(DATADIR)/Skin ; fi | 306 @if test ! -d $(DATADIR)/Skin ; then mkdir -p $(DATADIR)/Skin ; fi |
307 @echo "*** Download skin(s) at http://www.mplayerhq.hu/homepage/dload.html" | 307 @echo "*** Download skin(s) at http://www.mplayerhq.hu/homepage/dload.html" |
308 @echo "*** for GUI, and extract to $(DATADIR)/Skin/" | 308 @echo "*** for GUI, and extract to $(DATADIR)/Skin/" |
309 @if test ! -d $(prefix)/share/pixmaps ; then mkdir -p $(prefix)/share/pixmaps ; fi | |
310 $(INSTALL) -m 644 Gui/mplayer/pixmaps/mplayer-desktop.xpm $(prefix)/share/pixmaps/mplayer-desktop.xpm | |
311 @if test ! -d $(prefix)/share/applications ; then mkdir -p $(prefix)/share/applications ; fi | |
312 $(INSTALL) -m 644 etc/mplayer.desktop $(prefix)/share/applications/mplayer.desktop | |
309 endif | 313 endif |
310 @if test ! -d $(CONFDIR) ; then mkdir -p $(CONFDIR) ; fi | 314 @if test ! -d $(CONFDIR) ; then mkdir -p $(CONFDIR) ; fi |
311 @if test -f $(CONFDIR)/codecs.conf ; then mv -f $(CONFDIR)/codecs.conf $(CONFDIR)/codecs.conf.old ; fi | 315 @if test -f $(CONFDIR)/codecs.conf ; then mv -f $(CONFDIR)/codecs.conf $(CONFDIR)/codecs.conf.old ; fi |
312 ifeq ($(DVDKIT_SHARED),yes) | 316 ifeq ($(DVDKIT_SHARED),yes) |
313 ifeq ($(DVDKIT2),yes) | 317 ifeq ($(DVDKIT2),yes) |
322 endif | 326 endif |
323 | 327 |
324 uninstall: | 328 uninstall: |
325 -rm -f $(BINDIR)/$(PRG) $(BINDIR)/gmplayer $(MANDIR)/man1/mplayer.1 | 329 -rm -f $(BINDIR)/$(PRG) $(BINDIR)/gmplayer $(MANDIR)/man1/mplayer.1 |
326 -rm -f $(BINDIR)/$(PRG_MENCODER) $(MANDIR)/man1/mencoder.1 | 330 -rm -f $(BINDIR)/$(PRG_MENCODER) $(MANDIR)/man1/mencoder.1 |
331 -rm -f $(prefix)/share/pixmaps/mplayer-desktop.xpm | |
332 -rm -f $(prefix)/share/applications/mplayer.desktop | |
327 @echo "Uninstall completed" | 333 @echo "Uninstall completed" |
328 | 334 |
329 clean: | 335 clean: |
330 -rm -f *.o *~ $(OBJS) codecs.conf.h | 336 -rm -f *.o *~ $(OBJS) codecs.conf.h |
331 | 337 |