diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-04-04 20:43:29 +0200 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-04-04 20:43:29 +0200 |
commit | c94297e3cab7b0be8336dc3ea0276d316c00d39a (patch) | |
tree | b24a7101900609538f97b1a19d08e9fa88fc8238 | |
parent | c279b283cf71cb3eecb4c5a0f28765a079494308 (diff) | |
download | xine-lib-c94297e3cab7b0be8336dc3ea0276d316c00d39a.tar.gz xine-lib-c94297e3cab7b0be8336dc3ea0276d316c00d39a.tar.bz2 |
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.
-rw-r--r-- | misc/Makefile.common | 5 |
1 files changed, 5 insertions, 0 deletions
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 *~ \#* .*~ .\#* |