[Mplayer-cvslog] CVS: main Makefile,1.126,1.127

Arpi of Ize arpi at mplayer.dev.hu
Tue Dec 25 23:00:17 CET 2001


Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv21879

Modified Files:
	Makefile 
Log Message:
make users happy - this is xmas, isn't it?

Index: Makefile
===================================================================
RCS file: /cvsroot/mplayer/main/Makefile,v
retrieving revision 1.126
retrieving revision 1.127
diff -u -r1.126 -r1.127
--- Makefile	23 Dec 2001 22:20:45 -0000	1.126
+++ Makefile	25 Dec 2001 22:00:15 -0000	1.127
@@ -196,6 +196,21 @@
 	$(INSTALL) -m 755 -s $(PRG_MENCODER) $(BINDIR)/$(PRG_MENCODER)
 	$(INSTALL) -c -m 644 DOCS/mencoder.1 $(MANDIR)/man1/mencoder.1
 endif
+	@if test ! -d $(DATADIR) ; then mkdir -p $(DATADIR) ; fi
+	@if test ! -d $(DATADIR)/font ; then mkdir -p $(DATADIR)/font ; fi
+	@if test ! -f $(DATADIR)/font/font.desc ; then \
+	echo "*** Download font at http://www.mplayerhq.hu/homepage/dload.html" ; \
+	echo "*** for OSD/Subtitles support and extract to $(DATADIR)/font/" ; \
+	fi
+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/"
+endif
+	@if test ! -d $(CONFDIR) ; then mkdir -p $(CONFDIR) ; fi
+	@if test -f $(CONFDIR)/codecs.conf.old ; then mv -f $(CONFDIR)/codecs.conf.old $(CONFDIR)/codecs.conf.older ; fi
+	@if test -f $(CONFDIR)/codecs.conf ; then mv -f $(CONFDIR)/codecs.conf $(CONFDIR)/codecs.conf.old ; fi
+	$(INSTALL) -c -m 644 etc/codecs.conf $(CONFDIR)/codecs.conf
 
 ifeq ($(CSS_USE),yes)
 	@echo "Following task requires root privs. If it fails don't panic"




More information about the MPlayer-cvslog mailing list