Commit 718b1295 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Replace a nasty ugly construct with another similar one

parent 6f510512
...@@ -614,9 +614,9 @@ VLC.app: vlc ...@@ -614,9 +614,9 @@ VLC.app: vlc
$(top_builddir)/VLC.app/Contents/MacOS/VLC $(top_builddir)/VLC.app/Contents/MacOS/VLC
ln -sf ./VLC $(top_builddir)/VLC.app/Contents/MacOS/clivlc ln -sf ./VLC $(top_builddir)/VLC.app/Contents/MacOS/clivlc
$(INSTALL) -d $(top_builddir)/VLC.app/Contents/MacOS/modules $(INSTALL) -d $(top_builddir)/VLC.app/Contents/MacOS/modules
for i in `$(VLC_CONFIG) --target plugin` ; do \ find modules/ -name '*_plugin.$(LIBEXT)' | while read i; do \
if test -n "$$i" ; \ if test -n "$$i" ; \
then ln -sfn "`pwd`/`dirname $$i`/.libs/`basename $$i`$(LIBEXT)" \ then ln -sfn "`pwd`/$$i" \
"$(top_builddir)/VLC.app/Contents/MacOS/modules" ; \ "$(top_builddir)/VLC.app/Contents/MacOS/modules" ; \
fi ; done && \ fi ; done && \
ln -sfn `pwd`/$(srcdir)/share $(top_builddir)/VLC.app/Contents/MacOS/ ln -sfn `pwd`/$(srcdir)/share $(top_builddir)/VLC.app/Contents/MacOS/
...@@ -772,10 +772,9 @@ package-win32-base-debug: package-win-common ...@@ -772,10 +772,9 @@ package-win32-base-debug: package-win-common
# Plugins # Plugins
mkdir -p "$(top_builddir)/vlc-$(VERSION)/plugins" mkdir -p "$(top_builddir)/vlc-$(VERSION)/plugins"
for i in "" `$(VLC_CONFIG) --target plugin` ; do \ find modules/ -name '*_plugin.$(LIBEXT)' | while read i; do \
if test -n "$$i" ; then \ if test -n "$$i" ; then \
$(INSTALL) "$(top_builddir)/`dirname $$i`/.libs/`basename $$i`$(LIBEXT)" \ $(INSTALL) "$$i" "vlc-$(VERSION)/plugins/" ; \
"$(top_builddir)/vlc-$(VERSION)/plugins/" ; \
fi ; done fi ; done
if BUILD_SKINS if BUILD_SKINS
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment