summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2003-11-12 20:24:42 +0000
committerDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2003-11-12 20:24:42 +0000
commit4f8770ab9e98698cc5f645e05fa3dd4b9f759ed6 (patch)
tree06db041e0c8b3e0d7826042e80d61f58b524370d
parent35b011414f2a9a6e5277707a6c5a804bde41ae74 (diff)
downloadxine-lib-4f8770ab9e98698cc5f645e05fa3dd4b9f759ed6.tar.gz
xine-lib-4f8770ab9e98698cc5f645e05fa3dd4b9f759ed6.tar.bz2
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
-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 *~ \#* .*~ .\#*