summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-10-06 18:27:02 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-10-06 18:27:02 +0000
commit932c44eaf33ebd67b50d384b300d5b2468b27dcb (patch)
tree33262f110fd570dc6af4e3c228d807f28bc8a109 /Makefile
parentbb6927634ad84d68eaf791c54330567a0fcf7296 (diff)
downloadmpv-932c44eaf33ebd67b50d384b300d5b2468b27dcb.tar.bz2
mpv-932c44eaf33ebd67b50d384b300d5b2468b27dcb.tar.xz
libdvdkit shared install fixed
bugrep by Chris Phillips <chris@thirtythreeandathird.net> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7635 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3ee5cea9a2..ed3f5d1f2e 100644
--- a/Makefile
+++ b/Makefile
@@ -237,10 +237,15 @@ endif
@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 ($(DVDKIT),yes)
ifeq ($(DVDKIT_SHARED),yes)
+ifeq ($(DVDKIT2),yes)
if test ! -d $(LIBDIR) ; then mkdir -p $(LIBDIR) ; fi
$(INSTALL) -m 755 $(INSTALLSTRIP) libmpdvdkit2/libmpdvdkit.so $(LIBDIR)/libmpdvdkit.so
+else
+ifeq ($(DVDKIT),yes)
+ if test ! -d $(LIBDIR) ; then mkdir -p $(LIBDIR) ; fi
+ $(INSTALL) -m 755 $(INSTALLSTRIP) libmpdvdkit/libmpdvdkit.so $(LIBDIR)/libmpdvdkit.so
+endif
endif
endif
ifeq ($(CSS_USE),yes)