changeset 2385:78209b784fec

Add uninstall target, patch by Clemens W¸«£chter <clemenswaechter@yahoo.com>
author atmos4
date Mon, 22 Oct 2001 22:46:38 +0000
parents 814166bee8fd
children a48da0b47b02
files Makefile
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Mon Oct 22 22:45:06 2001 +0000
+++ b/Makefile	Mon Oct 22 22:46:38 2001 +0000
@@ -136,6 +136,13 @@
 	-install -o 0 -g 0 -m 4755 -s $(PRG_FIBMAP) $(BINDIR)/$(PRG_FIBMAP)
 endif
 
+uninstall:
+	rm -f $(BINDIR)/$(PRG)
+	rm -f $(BINDIR)/gmplayer
+	rm -f $(prefix)/man/man1/mplayer.1
+	rm -f $(BINDIR)/$(PRG_FIBMAP)
+	@echo "Uninstall completed"
+
 clean:
 	rm -f *.o *~ $(OBJS)