]> git.pond.sub.org Git - empserver/commitdiff
(uninstall): Implement.
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 19 Feb 2006 17:19:16 +0000 (17:19 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 19 Feb 2006 17:19:16 +0000 (17:19 +0000)
Make.mk

diff --git a/Make.mk b/Make.mk
index 296513772c6ea7bae46cc8af97770a10b00d11bc..938671edccfd9b0949a43e47d4298ce339e7a843 100644 (file)
--- 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