From c9f530846e28f98be916d6a3ca7408334e25b569 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Sun, 19 Feb 2006 17:19:16 +0000 Subject: [PATCH] (uninstall): Implement. --- Make.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Make.mk b/Make.mk index 29651377..938671ed 100644 --- a/Make.mk +++ b/Make.mk @@ -198,7 +198,13 @@ install-html: html | $(ehtmldir) .PHONY: uninstall uninstall: - false # FIXME + rm -f $(addprefix $(sbindir)/, $(notdir $(util) $(server))) + rm -f $(addprefix $(bindir)/, $(notdir $(client))) + rm -rf $(builtindir) $(einfodir) + rm -f $(addprefix $(mandir)/man1/, $(notdir $(man1))) + rm -f $(addprefix $(mandir)/man6/, $(notdir $(man6))) + @[ -e $(gamedir) ] && echo "$(gamedir) not removed, you may wish to remove it manually." + @[ -e $(econfig) ] && echo "$(econfig) not removed, you may wish to remove it manually." .PHONY: dist dist: dist-source dist-client dist-info