[vlc-devel] commit: Here too (can't the Win32 and OS X stuff be factorized a bit?) ( Antoine Cellerier )

git version control git at videolan.org
Sun Aug 31 23:22:48 CEST 2008


vlc | branch: 0.9-bugfix | Antoine Cellerier <dionoea at videolan.org> | Sun Aug 31 23:25:27 2008 +0200| [81edbabe053e2651fc0e144fe680ed81fa145389] | committer: Antoine Cellerier 

Here too (can't the Win32 and OS X stuff be factorized a bit?)
(cherry picked from commit abc8cabd7dd7a3118e9de829e04ee6c2b1923f93)

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

 Makefile.am |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index c42b593..e4c55f9 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -480,6 +480,10 @@ VLC-release.app: vlc
 	rm -Rf $(top_builddir)/tmp
 	$(INSTALL) -d $(top_builddir)/VLC-release.app/Contents/MacOS
 	PRODUCT="VLC-release.app" ACTION="release-makefile" src_dir=$(srcdir) build_dir=$(top_builddir) sh $(srcdir)/projects/macosx/framework/Pre-Compile.sh
+	$(INSTALL) -d $(top_builddir)/VLC-release.app/Contents/MacOS/share/lua
+	for i in $(srcdir)/share/lua/*.* ; do \
+	  $(INSTALL) -m 644 $${i} $(top_builddir)/VLC-release.app/Contents/MacOS/share/lua/`basename $${i}` ; \
+	done ; \
 	$(INSTALL) -d $(top_builddir)/VLC-release.app/Contents/MacOS/share/lua/playlist
 	for i in $(srcdir)/share/lua/playlist/*.* ; do \
 	  $(INSTALL) -m 644 $${i} $(top_builddir)/VLC-release.app/Contents/MacOS/share/lua/playlist/`basename $${i}` ; \
@@ -773,6 +777,10 @@ endif
 
 if BUILD_LUA
 #Lua Scripts
+	$(INSTALL) -d $(win32_lua_destdir)
+	for i in $(srcdir)/share/lua/*.* ; do \
+	  $(INSTALL) -m 644 -- "$${i}" $(win32_lua_destdir)/`basename $${i}` ; \
+	done
 	$(INSTALL) -d $(win32_lua_destdir)/playlist
 	for i in $(srcdir)/share/lua/playlist/*.* ; do \
 	  $(INSTALL) -m 644 -- "$${i}" $(win32_lua_destdir)/playlist/`basename $${i}` ; \




More information about the vlc-devel mailing list