summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/Makefile.common9
1 files changed, 9 insertions, 0 deletions
diff --git a/misc/Makefile.common b/misc/Makefile.common
index b723d7503..4f6f663d6 100644
--- a/misc/Makefile.common
+++ b/misc/Makefile.common
@@ -42,6 +42,15 @@ uninstall-includeHEADERS:
rm -f $(DESTDIR)$(includedir)/xine/$$p; \
done
+uninstall-hook:
+ @if test '$(libdir)' = '$(XINE_PLUGINDIR)'; 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
+
mostlyclean-generic:
-rm -f *~ \#* .*~ .\#*