]> git.sesse.net Git - vlc/commitdiff
VLC.app: Don't ln to vlc, but put a similar script in place. (Remove clivlc which...
authorPierre d'Herbemont <pdherbemont@videolan.org>
Wed, 28 May 2008 00:03:57 +0000 (02:03 +0200)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Wed, 28 May 2008 00:03:57 +0000 (02:03 +0200)
Makefile.am

index e277cb665fb1ee8178f3659c62f3ff9d04498f79..f2fd592de33332b4aa89942b72d0d543c471be50 100644 (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" ; \