summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-12-25 22:00:15 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-12-25 22:00:15 +0000
commitbaf31d5bfad6ac07c3e495cd6889dd51b4342662 (patch)
treef942678023b06b78545f53804485baed23145227 /Makefile
parent5df17becc8b1bf6743a54bfe8cef2a71d377e2a5 (diff)
downloadmpv-baf31d5bfad6ac07c3e495cd6889dd51b4342662.tar.bz2
mpv-baf31d5bfad6ac07c3e495cd6889dd51b4342662.tar.xz
make users happy - this is xmas, isn't it?
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3750 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index aa82083ce8..2bc13f09dc 100644
--- a/Makefile
+++ b/Makefile
@@ -196,6 +196,21 @@ ifeq ($(MENCODER),yes)
$(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"