make users happy - this is xmas, isn't it?

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3750 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2001-12-25 22:00:15 +00:00
parent 5df17becc8
commit baf31d5bfa
1 changed files with 15 additions and 0 deletions

View File

@ -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"