[vlc-commits] Fix VLC-release.app target

Rafaël Carré git at videolan.org
Sat Nov 19 14:50:39 CET 2011


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Sat Nov 19 08:14:10 2011 -0500| [1148ca8f77c1857366842bb9d68b117930ec96bf] | committer: Rafaël Carré

Fix VLC-release.app target

VLC binary must not exist prior to running Pre-Compile.sh

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1148ca8f77c1857366842bb9d68b117930ec96bf
---

 extras/package/macosx/package.mak |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/extras/package/macosx/package.mak b/extras/package/macosx/package.mak
index 161183d..7216df5 100644
--- a/extras/package/macosx/package.mak
+++ b/extras/package/macosx/package.mak
@@ -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



More information about the vlc-commits mailing list