[vlc-devel] commit: VLC.app: Don't ln to vlc, but put a similar script in place. ( Remove clivlc which makes no sens in VLC.app, as it is a build dir only target, so use vlc for clivlc). (Pierre d' Herbemont )

git version control git at videolan.org
Wed May 28 02:03:21 CEST 2008


vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Wed May 28 02:03:57 2008 +0200| [80667302b019f2b8f101333c298e97b1f72f06e9]

VLC.app: Don't ln to vlc, but put a similar script in place. (Remove clivlc which makes no sens in VLC.app, as it is a build dir only target, so use vlc for clivlc).

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

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

diff --git a/Makefile.am b/Makefile.am
index e277cb6..f2fd592 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -624,8 +624,9 @@ VLC.app: vlc
 	          $(top_builddir)/VLC.app
 	rm -Rf $(top_builddir)/tmp
 	$(INSTALL) -d $(top_builddir)/VLC.app/Contents/MacOS
-	ln -sf ../../../vlc $(top_builddir)/VLC.app/Contents/MacOS/VLC
-	ln -sf ../../../vlc $(top_builddir)/VLC.app/Contents/MacOS/clivlc
+	touch $(top_builddir)/VLC.app/Contents/MacOS/VLC
+	chmod +x $(top_builddir)/VLC.app/Contents/MacOS/VLC
+	echo "#! /bin/sh\nexec \"\$$(dirname \"\$$0\")/../../../src/vlc\" \"--plugin-path=\$$(dirname \"\$$0\")/../../../modules\" \"\$$@\"" > $(top_builddir)/VLC.app/Contents/MacOS/VLC
 	$(INSTALL) -d $(top_builddir)/VLC.app/Contents/MacOS/modules
 	find modules/ -name '*_plugin$(LIBEXT)' | while read i; do \
 	  if test -n "$$i" ; \




More information about the vlc-devel mailing list