]> git.sesse.net Git - vlc/commitdiff
Fix VLC-release.app target
authorRafaël Carré <funman@videolan.org>
Sat, 19 Nov 2011 13:14:10 +0000 (08:14 -0500)
committerRafaël Carré <funman@videolan.org>
Sat, 19 Nov 2011 13:21:46 +0000 (08:21 -0500)
VLC binary must not exist prior to running Pre-Compile.sh

extras/package/macosx/package.mak

index 161183d5182c3becfd01e22b09d0a67d8362fd0a..7216df5e11a422e19096e0cc0d449a907f1ebc91 100644 (file)
@@ -10,6 +10,7 @@ endif
 VLC.app: VLC-tmp.app
        rm -Rf $@
        mv VLC-tmp.app $@
+       $(INSTALL) -m 0755 $(top_builddir)/bin/.libs/vlc $@/Contents/MacOS/VLC
        $(LN_S) -f ../../../modules $@/Contents/MacOS/plugins
 
 # VLC-release.app for packaging and giving it to your friends
@@ -83,7 +84,6 @@ VLC-tmp.app: vlc
                xcodebuild -target vlc SYMROOT=../../../build DSTROOT=../../../build $(silentstd)
        cp -R -L $(top_builddir)/tmp/build/Default/VLC.bundle $@
        $(INSTALL) -d $@/Contents/MacOS/
-       $(INSTALL) -m 0755 $(top_builddir)/bin/.libs/vlc $@/Contents/MacOS/VLC
        $(INSTALL) -d $@/Contents/MacOS/share/
        cp -r $(srcdir)/share/lua $@/Contents/MacOS/share/
        $(INSTALL) -m 644 $(srcdir)/share/vlc512x512.png $@/Contents/MacOS/share/vlc512x512.png