changeset 7634:e9d34ae5bfe6

libdvdkit shared install fixed bugrep by Chris Phillips <chris@thirtythreeandathird.net>
author arpi
date Sun, 06 Oct 2002 18:27:02 +0000
parents c0fa4d2e39a3
children 6409b0ac8640
files Makefile
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Sun Oct 06 18:21:13 2002 +0000
+++ b/Makefile	Sun Oct 06 18:27:02 2002 +0000
@@ -237,10 +237,15 @@
 	@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)