[vlc-commits] fix macosx packaging

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


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Sat Nov 19 12:13:28 2011 -0500| [c40e7aaf12e580725638154ac1fe8abdfd2e66ff] | committer: Rafaël Carré

fix macosx packaging

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

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

diff --git a/extras/package/macosx/package.mak b/extras/package/macosx/package.mak
index 0088958..592fd7f 100644
--- a/extras/package/macosx/package.mak
+++ b/extras/package/macosx/package.mak
@@ -92,7 +92,7 @@ VLC-tmp.app: vlc
 	  $(INSTALL) -d $@/Contents/MacOS/share/locale/$${i}/LC_MESSAGES ; \
 	  $(INSTALL) $(srcdir)/po/$${i}.gmo $@/Contents/MacOS/share/locale/$${i}/LC_MESSAGES/vlc.mo; \
 	  mkdir -p $@/Contents/Resources/$${i}.lproj/ ; \
-	  $(LN_S) -f ../English.lproj/InfoPlist.strings ../English.lproj/MainMenu.xib \
+	  $(LN_S) -f ../English.lproj/InfoPlist.strings ../English.lproj/MainMenu.nib \
 		$@/Contents/Resources/$${i}.lproj/ ; \
 	done
 	printf "APPLVLC#" >| $@/Contents/PkgInfo
@@ -111,6 +111,7 @@ package-macosx: VLC-release.app ChangeLog
 	hdiutil create -verbose -srcfolder "$(top_builddir)/vlc-$(VERSION)" "$(top_builddir)/vlc-$(VERSION)-rw.dmg" -scrub
 # Make sure the image is not writable
 # Note: We can't directly create a read only dmg as we do the bless stuff
+	rm -f "$(top_builddir)/vlc-$(VERSION).dmg"
 	hdiutil convert "$(top_builddir)/vlc-$(VERSION)-rw.dmg" -format UDBZ -o "$(top_builddir)/vlc-$(VERSION).dmg"
 	ls -l "$(top_builddir)/vlc-$(VERSION).dmg"
 



More information about the vlc-commits mailing list