[vlc-devel] commit: make package-macosx target fixes. (Jean-Paul Saman )

git version control git at videolan.org
Mon Oct 27 16:23:33 CET 2008


vlc | branch: 0.8.6-bugfix | Jean-Paul Saman <jpsaman at videolan.org> | Mon Oct 27 16:21:29 2008 +0100| [d67896fef87e933dd99965f82d06e59473318d5e] | committer: Jean-Paul Saman 

make package-macosx target fixes.

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

 Makefile.am |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 90f27c5..b688bab 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -511,7 +511,7 @@ VLC.app: vlc
 	  echo "OK."; mkdir -p "$(top_builddir)/tmp/extras"; \
 	fi
 	rm -Rf $(top_builddir)/VLC.app
-	cp -R $(srcdir)/extras/MacOSX $(top_builddir)/tmp/extras
+	cp -RL $(srcdir)/extras/MacOSX $(top_builddir)/tmp/extras
 	for i in AUTHORS COPYING README.MacOSX.rtf THANKS; do \
 	  cp "$(srcdir)/$$i" $(top_builddir)/tmp; \
 	done
@@ -604,7 +604,11 @@ VLC.app: vlc
 	  ln -sf ../English.lproj/MainMenu.nib \
 	      $(top_builddir)/VLC.app/Contents/Resources/$${i}.lproj ; \
 	done
+	cp -RL ${srcdir}/extras/MacOSX/Resources/English.lproj ${top_builddir}/VLC.app/Contents/Resources/
+	cp ${srcdir}/extras/MacOSX/Resources/*.{png,icns} ${top_builddir}/VLC.app/Contents/Resources/
 	printf "APPLVLC#" >| $(top_builddir)/VLC.app/Contents/PkgInfo
+	find $(top_builddir)/VLC.app -type d -exec chmod ugo+rx '{}' \;
+	find $(top_builddir)/VLC.app -type f -exec chmod ugo+r '{}' \;
 endif
 
 if HAVE_WIN32




More information about the vlc-devel mailing list