# HG changeset patch # User wight # Date 1098282007 0 # Node ID 3c6a2b6437dfb443428d580e3c61b28f71da969b # Parent ce163851db17e90ee70cff693c47feaa0eaec981 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) diff -r ce163851db17 -r 3c6a2b6437df Makefile --- 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: diff -r ce163851db17 -r 3c6a2b6437df vidix/Makefile --- 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 #