]> git.sesse.net Git - vlc/commitdiff
* Makefile.am: Fixed the plugins' target directory location.
authorSam Hocevar <sam@videolan.org>
Sat, 19 Jul 2003 11:29:20 +0000 (11:29 +0000)
committerSam Hocevar <sam@videolan.org>
Sat, 19 Jul 2003 11:29:20 +0000 (11:29 +0000)
Makefile.am

index c2f4359ac3d76f6611ffde0297b223ceeffcf39c..8e9cd65fff85f8e46e75f6d0fd6823d890fbd51d 100644 (file)
@@ -370,8 +370,8 @@ endif
 # Install the modules and the symlinks
 install-exec-local:
        for i in "" `$(VLC_CONFIG) --target plugin` ; do if test -n "$$i" ; then \
-         echo $(INSTALL) -m 755 "$$i$(LIBEXT)" "$(DESTDIR)$(libdir)/vlc/`echo $$i | cut -f2 -d/`" ; \
-         $(INSTALL) -m 755 "$$i$(LIBEXT)" "$(DESTDIR)$(libdir)/vlc/`echo $$i | cut -f2 -d/`" ; \
+         echo $(INSTALL) -m 755 "$$i$(LIBEXT)" "$(DESTDIR)$(libdir)/vlc/`echo $$i | sed -e 's,.*modules/\([^/]*\).*,\1,'`" ; \
+         $(INSTALL) -m 755 "$$i$(LIBEXT)" "$(DESTDIR)$(libdir)/vlc/`echo $$i | sed -e 's,.*modules/\([^/]*\).*,\1,'`" ; \
        fi ; done
        for i in "" `$(VLC_CONFIG) --target builtin` ; do if test -n "$$i" ; then \
          echo $(INSTALL) -m 644 "$$i" "$(DESTDIR)$(libdir)/vlc" ; \