From 4f8770ab9e98698cc5f645e05fa3dd4b9f759ed6 Mon Sep 17 00:00:00 2001 From: Daniel Caujolle-Bert Date: Wed, 12 Nov 2003 20:24:42 +0000 Subject: Ohoh, it seems i've happily broke the "uninstall" stage when i hacked the libtool to made it not install .la file. Here's the fix. CVS patchset: 5728 CVS date: 2003/11/12 20:24:42 --- misc/Makefile.common | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'misc') 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 *~ \#* .*~ .\#* -- cgit v1.2.3