[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:26 CEST 2008


vlc | branch: master | Antoine Cellerier <dionoea at videolan.org> | Sun Aug 31 23:25:27 2008 +0200| [abc8cabd7dd7a3118e9de829e04ee6c2b1923f93] | committer: Antoine Cellerier 

Here too (can't the Win32 and OS X stuff be factorized a bit?)

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

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

diff --git a/Makefile.am b/Makefile.am
index 184326b..8d33bc8 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}` ; \
@@ -776,6 +780,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