Changeset 492c2c6822d71bf82076188cd21898b3ee2c9981

Show
Ignore:
Timestamp:
10/05/08 19:46:18 (5 months ago)
Author:
Rémi Denis-Courmont <rem@videolan.org>
git-committer:
Rémi Denis-Courmont <rem@videolan.org> 1210441578 +0300
git-parent:

[ddcfa776d89bc7b650c9566b58e410bf6d2dbaf9]

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

vlc: set the plugin-path explicitly

So we don't need the current working directory hack to run VLC from the
build tree. As an added bonus, we can now run VLC from its build tree
even if the current working directory is not $(top_builddir).

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • Makefile.am

    rddcfa77 r492c2c6  
    384384endif 
    385385 
    386 vlc$(EXEEXT): core 
    387     rm -f vlc$(EXEEXT) 
    388     ln -s src/vlc$(EXEEXT) 
    389 #   rm -f -- vlc vlc.tmp 
    390 #   echo '#! /bin/sh' > vlc.tmp 
    391 #   echo 'exec "$$(dirname "$$0")/src/vlc$(EXEEXT)" "--plugin-path=$$(dirname "$$0")/modules" "$$@"' >> vlc.tmp 
    392 #   chmod +x vlc.tmp 
    393 #   mv -f -- vlc.tmp vlc 
     386vlc$(EXEEXT): Makefile.am 
     387    rm -f -- vlc vlc.tmp 
     388    echo '#! /bin/sh' > vlc.tmp 
     389    echo 'exec "$$(dirname "$$0")/src/vlc$(EXEEXT)" "--plugin-path=$$(dirname "$$0")/modules" "$$@"' >> vlc.tmp 
     390    chmod +x vlc.tmp 
     391    mv -f -- vlc.tmp vlc 
    394392 
    395393if HAVE_DARWIN