diff Makefile @ 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 9e059416eea6
children c78ce0c4a38a
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)