diff options
author | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2003-11-12 20:24:42 +0000 |
---|---|---|
committer | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2003-11-12 20:24:42 +0000 |
commit | 4f8770ab9e98698cc5f645e05fa3dd4b9f759ed6 (patch) | |
tree | 06db041e0c8b3e0d7826042e80d61f58b524370d | |
parent | 35b011414f2a9a6e5277707a6c5a804bde41ae74 (diff) | |
download | xine-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.common | 9 |
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 *~ \#* .*~ .\#* |