changeset 13702:3c6a2b6437df

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)
author wight
date Wed, 20 Oct 2004 14:20:07 +0000
parents ce163851db17
children 06cd8401c498
files Makefile vidix/Makefile
diffstat 2 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Wed Oct 20 09:40:48 2004 +0000
+++ b/Makefile	Wed Oct 20 14:20:07 2004 +0000
@@ -330,6 +330,16 @@
 	-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:
--- a/vidix/Makefile	Wed Oct 20 09:40:48 2004 +0000
+++ b/vidix/Makefile	Wed Oct 20 14:20:07 2004 +0000
@@ -40,6 +40,9 @@
 install:
 	$(DO_MAKE)
 
+uninstall:
+	$(DO_MAKE)
+
 #
 # include dependency files if they exist
 #