]> git.sesse.net Git - vlc/commitdiff
(Un)Install shared libvlc if enabled
authorRémi Denis-Courmont <rem@videolan.org>
Sat, 20 Aug 2005 13:15:26 +0000 (13:15 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Sat, 20 Aug 2005 13:15:26 +0000 (13:15 +0000)
Makefile.am

index ee8732583200d66a8dbb685f81b6938d33661b44..23d56c994a60b9ab7125993e406556edfc5f03b3 100644 (file)
@@ -527,18 +527,20 @@ vlc-bundle: vlc
        find $(top_builddir)/vlc-bundle -type f -exec mimeset -f "{}" \;
 endif
 
-# Install the symlinks
+# Install the symlinks and shared libvlc
 install-exec-local:
        for i in "" $(ALIASES) ; do if test -n "$$i" ; then \
          rm -f "$(DESTDIR)$(bindir)/$$i" && \
          ln -s vlc "$(DESTDIR)$(bindir)/$$i" ; \
        fi ; done
+       test -z "$(DATA_noinst_libvlc)" || $(INSTALL_PROGRAM) "$(DATA_noinst_libvlc)" "$(DESTDIR)$(libdir)"
 
 # the opposite of install-{data,exec}-local
 uninstall-local:
        for i in "" $(ALIASES) ; do if test -n "$$i" ; then \
          rm -f "$(DESTDIR)$(bindir)/$$i" ; \
        fi ; done
+       test -z "$(DATA_noinst_libvlc)" || rm -f "$(DESTDIR)$(libdir)/$(DATA_noinst_libvlc)"
 
 if HAVE_DARWIN
 # Create the MacOS X app