Changeset 718b12955d45ddb36ffb52670c1d8ca4f2986a8e

Show
Ignore:
Timestamp:
04/21/08 22:06:06 (3 months ago)
Author:
Rémi Denis-Courmont <rem@videolan.org>
git-committer:
Rémi Denis-Courmont <rem@videolan.org> 1208808366 +0300
git-parent:

[6f5105121aa7f249a49da9879271e7cec7ff31d8]

git-author:
Rémi Denis-Courmont <rem@videolan.org> 1208806975 +0300
Message:

Replace a nasty ugly construct with another similar one

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • Makefile.am

    r6f51051 r718b129  
    615615    ln -sf ./VLC $(top_builddir)/VLC.app/Contents/MacOS/clivlc 
    616616    $(INSTALL) -d $(top_builddir)/VLC.app/Contents/MacOS/modules 
    617     for i in `$(VLC_CONFIG) --target plugin` ; do \ 
     617    find modules/ -name '*_plugin.$(LIBEXT)' | while read i; do \ 
    618618      if test -n "$$i" ; \ 
    619        then ln -sfn "`pwd`/`dirname $$i`/.libs/`basename $$i`$(LIBEXT)" \ 
     619       then ln -sfn "`pwd`/$$i" \ 
    620620                   "$(top_builddir)/VLC.app/Contents/MacOS/modules" ; \ 
    621621      fi ; done && \ 
     
    773773# Plugins 
    774774    mkdir -p "$(top_builddir)/vlc-$(VERSION)/plugins" 
    775     for i in "" `$(VLC_CONFIG) --target plugin` ; do \ 
     775    find modules/ -name '*_plugin.$(LIBEXT)' | while read i; do \ 
    776776      if test -n "$$i" ; then \ 
    777         $(INSTALL) "$(top_builddir)/`dirname $$i`/.libs/`basename $$i`$(LIBEXT)" \ 
    778             "$(top_builddir)/vlc-$(VERSION)/plugins/" ; \ 
     777        $(INSTALL) "$$i" "vlc-$(VERSION)/plugins/" ; \ 
    779778      fi ; done 
    780779