[vlc-devel] commit: VLC.app: Don't create files in srcdir. (Pierre d'Herbemont )

git version control git at videolan.org
Thu Aug 14 03:45:02 CEST 2008


vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Thu Aug 14 03:47:54 2008 +0200| [8a8d775801814f2f2662e12ac3cd868182397a8f] | committer: Pierre d'Herbemont 

VLC.app: Don't create files in srcdir.

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

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

diff --git a/Makefile.am b/Makefile.am
index d7c58bf..0087a47 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -641,7 +641,10 @@ VLC.app: vlc
 	chmod +x $(top_builddir)/VLC.app/Contents/MacOS/VLC
 	$(INSTALL) $(top_builddir)/src/.libs/vlc $(top_builddir)/VLC.app/Contents/MacOS/VLC
 	ln -sf ../../../modules $(top_builddir)/VLC.app/Contents/MacOS/modules
-	ln -sfn `pwd`/$(srcdir)/share $(top_builddir)/VLC.app/Contents/MacOS/
+	install -d $(top_builddir)/VLC.app/Contents/MacOS/share
+	for i in `ls $(srcdir)/share`; do \
+	   ln -sf `pwd`/$(srcdir)/share/$$i $(top_builddir)/VLC.app/Contents/MacOS/share/; \
+	done
 	$(INSTALL) -d $(top_builddir)/VLC.app/Contents/MacOS/share/locale
 	cat $(top_srcdir)/po/LINGUAS | while read i; do \
 	  mkdir -p $(top_builddir)/VLC.app/Contents/MacOS/share/locale/$${i}/LC_MESSAGES ; \




More information about the vlc-devel mailing list