summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorwight <wight@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-10-20 14:20:07 +0000
committerwight <wight@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-10-20 14:20:07 +0000
commit49ec55840e6bf586499e35290bee7c7c60aa9ad1 (patch)
tree6e5fab6ad7041228b4e78dea7e04f1fb04d0d7e3 /Makefile
parent9ad2dd2a290e7410d3ee8d36a51edbeb0122d409 (diff)
downloadmpv-49ec55840e6bf586499e35290bee7c7c60aa9ad1.tar.bz2
mpv-49ec55840e6bf586499e35290bee7c7c60aa9ad1.tar.xz
make uninstall was leaving vidix, dha, and libmpdvdkit libraries
and translated manpages as well. This fixes the issue. Resolves bug #9 (hopefully) Based on Bugzilla patch by Evgueni V. Gavrilov (aquatique at rusunix.org) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13703 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 00bfd950c7..4716375ea8 100644
--- a/Makefile
+++ b/Makefile
@@ -330,6 +330,16 @@ uninstall:
-rm -f $(BINDIR)/$(PRG_MENCODER) $(MANDIR)/man1/mencoder.1
-rm -f $(prefix)/share/pixmaps/mplayer-desktop.xpm
-rm -f $(prefix)/share/applications/mplayer.desktop
+ -rm -f $(LIBDIR)/libmpdvdkit.so
+ for l in $(MAN_LANG); do \
+ if test "i$$l" != "en"; then \
+ -rm -f $(MANDIR)/$$l/man1/mplayer.1 $(MANDIR)/$$l/man1/mencoder.1 \
+ -rm -f $(MANDIR)/$$l/man1/gmplayer.1 \
+ fi \
+ done
+ifeq ($(VIDIX),yes)
+ $(DO_MAKE)
+endif
@echo "Uninstall completed"
clean: