From 3445cc5bf8d58dc0fa34eb0e5d12b83617670fda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Fri, 6 Apr 2007 17:07:37 +0200 Subject: 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. --- misc/Makefile.common | 7 ------- 1 file changed, 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"; \ -- cgit v1.2.3