From c94297e3cab7b0be8336dc3ea0276d316c00d39a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Wed, 4 Apr 2007 20:43:29 +0200 Subject: Properly uninstall plugins installed through xineplug_LTLIBRARIES. As we remove the .la files from libtool, the default uninstall targets will not work for the plugins, so we have to remove them by hand. When all the plugins will be migrated to xineplug_LTLIBRARIES, we can remove the egrep call and that part of the code. --- misc/Makefile.common | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/misc/Makefile.common b/misc/Makefile.common index b3772941f..aa5ec1013 100644 --- a/misc/Makefile.common +++ b/misc/Makefile.common @@ -49,6 +49,11 @@ uninstall-hook: 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"; \ + rm -f $(DESTDIR)$(xineplugdir)/$$p; \ + done; mostlyclean-generic: -rm -f *~ \#* .*~ .\#* -- cgit v1.2.3