VLC.app: Don't ln to vlc, but put a similar script in place. (Remove clivlc which makes no sens in VLC.app, as it is a build dir only target, so use vlc for clivlc).

This commit is contained in:
Pierre d'Herbemont 2008-05-28 02:03:57 +02:00
parent c2a60588b1
commit 80667302b0

View File

@ -624,8 +624,9 @@ VLC.app: vlc
$(top_builddir)/VLC.app
rm -Rf $(top_builddir)/tmp
$(INSTALL) -d $(top_builddir)/VLC.app/Contents/MacOS
ln -sf ../../../vlc $(top_builddir)/VLC.app/Contents/MacOS/VLC
ln -sf ../../../vlc $(top_builddir)/VLC.app/Contents/MacOS/clivlc
touch $(top_builddir)/VLC.app/Contents/MacOS/VLC
chmod +x $(top_builddir)/VLC.app/Contents/MacOS/VLC
echo "#! /bin/sh\nexec \"\$$(dirname \"\$$0\")/../../../src/vlc\" \"--plugin-path=\$$(dirname \"\$$0\")/../../../modules\" \"\$$@\"" > $(top_builddir)/VLC.app/Contents/MacOS/VLC
$(INSTALL) -d $(top_builddir)/VLC.app/Contents/MacOS/modules
find modules/ -name '*_plugin$(LIBEXT)' | while read i; do \
if test -n "$$i" ; \