Commit 1148ca8f authored by Rafaël Carré's avatar Rafaël Carré

Fix VLC-release.app target

VLC binary must not exist prior to running Pre-Compile.sh
parent c51c593a
...@@ -10,6 +10,7 @@ endif ...@@ -10,6 +10,7 @@ endif
VLC.app: VLC-tmp.app VLC.app: VLC-tmp.app
rm -Rf $@ rm -Rf $@
mv VLC-tmp.app $@ mv VLC-tmp.app $@
$(INSTALL) -m 0755 $(top_builddir)/bin/.libs/vlc $@/Contents/MacOS/VLC
$(LN_S) -f ../../../modules $@/Contents/MacOS/plugins $(LN_S) -f ../../../modules $@/Contents/MacOS/plugins
# VLC-release.app for packaging and giving it to your friends # VLC-release.app for packaging and giving it to your friends
...@@ -83,7 +84,6 @@ VLC-tmp.app: vlc ...@@ -83,7 +84,6 @@ VLC-tmp.app: vlc
xcodebuild -target vlc SYMROOT=../../../build DSTROOT=../../../build $(silentstd) xcodebuild -target vlc SYMROOT=../../../build DSTROOT=../../../build $(silentstd)
cp -R -L $(top_builddir)/tmp/build/Default/VLC.bundle $@ cp -R -L $(top_builddir)/tmp/build/Default/VLC.bundle $@
$(INSTALL) -d $@/Contents/MacOS/ $(INSTALL) -d $@/Contents/MacOS/
$(INSTALL) -m 0755 $(top_builddir)/bin/.libs/vlc $@/Contents/MacOS/VLC
$(INSTALL) -d $@/Contents/MacOS/share/ $(INSTALL) -d $@/Contents/MacOS/share/
cp -r $(srcdir)/share/lua $@/Contents/MacOS/share/ cp -r $(srcdir)/share/lua $@/Contents/MacOS/share/
$(INSTALL) -m 644 $(srcdir)/share/vlc512x512.png $@/Contents/MacOS/share/vlc512x512.png $(INSTALL) -m 644 $(srcdir)/share/vlc512x512.png $@/Contents/MacOS/share/vlc512x512.png
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment