summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-04-06 17:07:37 +0200
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-04-06 17:07:37 +0200
commit3445cc5bf8d58dc0fa34eb0e5d12b83617670fda (patch)
tree3bedb2698862c26edb8e64afa331e06941242202
parent0a725e9e1bceb83c24c0e2455d640fd616be74a1 (diff)
downloadxine-lib-3445cc5bf8d58dc0fa34eb0e5d12b83617670fda.tar.gz
xine-lib-3445cc5bf8d58dc0fa34eb0e5d12b83617670fda.tar.bz2
Now that all plugins install using xineplug_LTLIBRARIES, avoid grepping
libdir for plugins installation. With this change, it avoids running an egrep command for every directory at uninstall time; the for has way less impact as the list can just be empty.
-rw-r--r--misc/Makefile.common7
1 files changed, 0 insertions, 7 deletions
diff --git a/misc/Makefile.common b/misc/Makefile.common
index 3bae6f001..d23ea5b5e 100644
--- a/misc/Makefile.common
+++ b/misc/Makefile.common
@@ -49,13 +49,6 @@ install-debug: debug
$(MAKE) $(AM_MAKEFLAGS) install-data-hook
uninstall-hook:
- @if echo '$(libdir)' | egrep ^'$(XINE_PLUGINDIR)' >/dev/null; then \
- list='$(lib_LTLIBRARIES)'; for p in $$list; do \
- p="`echo $$p | sed -e 's/\.la$$/\.so/g;s|^.*/||'`"; \
- echo " rm -f $(DESTDIR)$(libdir)/$$p"; \
- rm -f $(DESTDIR)$(libdir)/$$p; \
- done; \
- fi
@list='$(xineplug_LTLIBRARIES)'; for p in $$list; do \
p="`echo $$p | sed -e 's/\.la$$/\.so/g;s|^.*/||'`"; \
echo " rm -f $(DESTDIR)$(xineplugdir)/$$p"; \