From dceb44290badf3c971a0d6ef87999d9e041623b7 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Tue, 1 Jul 2003 18:28:43 +0000 Subject: [PATCH] * vlc-config.in.in: Reverted one of my first Solaris workarounds rendered obsolescent by the latest ones. --- Makefile.am | 8 ++++---- vlc-config.in.in | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Makefile.am b/Makefile.am index e059526bbf..710c3295d5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -370,10 +370,10 @@ endif # Install the modules and the symlinks install-exec-local: for i in "" `$(VLC_CONFIG) --target plugin` ; do if test -n "$$i" ; then \ - $(INSTALL) -m 755 "modules/$$i$(LIBEXT)" "$(DESTDIR)$(libdir)/vlc/`echo $$i | cut -f1 -d/`" ; \ + $(INSTALL) -m 755 "$$i$(LIBEXT)" "$(DESTDIR)$(libdir)/vlc/`echo $$i | cut -f1 -d/`" ; \ fi ; done for i in "" `$(VLC_CONFIG) --target builtin` `$(VLC_CONFIG) --target builtin pic` ; do if test -n "$$i" ; then \ - $(INSTALL) -m 644 "modules/$$i" "$(DESTDIR)$(libdir)/vlc" ; \ + $(INSTALL) -m 644 "$$i" "$(DESTDIR)$(libdir)/vlc" ; \ fi ; done for i in "" $(ALIASES) ; do if test -n "$$i" ; then \ rm -f "$(DESTDIR)$(bindir)/$$i" && \ @@ -392,7 +392,7 @@ VLC.app: vlc $(INSTALL) vlc $(srcdir)/VLC.app/Contents/MacOS/VLC $(INSTALL) -d $(srcdir)/VLC.app/Contents/MacOS/modules for i in "" `$(VLC_CONFIG) --target plugin` ; do \ - if test -n "$$i" ; then $(INSTALL) "$(srcdir)/modules/$$i$(LIBEXT)" \ + if test -n "$$i" ; then $(INSTALL) "$(srcdir)/$$i$(LIBEXT)" \ "$(srcdir)/VLC.app/Contents/MacOS/modules" ; \ fi ; done $(INSTALL) -d $(srcdir)/VLC.app/Contents/MacOS/share @@ -447,7 +447,7 @@ package-win32: mkdir -p "$(srcdir)/tmp/plugins" for i in "" `$(VLC_CONFIG) --target plugin` ; do \ if test -n "$$i" ; then \ - $(INSTALL) "$(srcdir)/modules/$$i$(LIBEXT)" "$(srcdir)/tmp/plugins/" ; \ + $(INSTALL) "$(srcdir)/$$i$(LIBEXT)" "$(srcdir)/tmp/plugins/" ; \ fi ; done for i in "" $(srcdir)/tmp/plugins/*$(LIBEXT) ; \ diff --git a/vlc-config.in.in b/vlc-config.in.in index 4a9c3b3c3a..4c223e8074 100644 --- a/vlc-config.in.in +++ b/vlc-config.in.in @@ -243,7 +243,7 @@ if test "${echo_target}" = yes; then for module in `echo "${plugins}"`; do register_targets "${module}" done - for target in `echo ${list}`; do printf "${target}_plugin "; done + for target in `echo ${list}`; do printf "modules/${target}_plugin "; done printf '\n' fi if test "${echo_builtin}"; then @@ -251,9 +251,9 @@ if test "${echo_target}" = yes; then register_targets "${module}" done if test "${echo_pic}"; then - for target in `echo ${list}`; do printf "${target}_pic.a "; done + for target in `echo ${list}`; do printf "modules/${target}_pic.a "; done else - for target in `echo ${list}`; do printf "${target}.a "; done + for target in `echo ${list}`; do printf "modules/${target}.a "; done fi printf '\n' fi @@ -285,9 +285,9 @@ if test "${echo_libs}" = yes; then register_flags "${module}" done if test "${echo_pic}"; then - for target in `echo ${list}`; do printf "${target}_pic.a "; done + for target in `echo ${list}`; do printf "modules/${target}_pic.a "; done else - for target in `echo ${list}`; do printf "${target}.a "; done + for target in `echo ${list}`; do printf "modules/${target}.a "; done fi printf '\n' fi -- 2.39.2