summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Cardell Widerkrantz <mc@hack.org>2012-03-09 16:15:41 +0100
committerMichael Cardell Widerkrantz <mc@hack.org>2012-03-09 16:15:41 +0100
commite5509ae6814092303af973e27c2bf7d87969d15f (patch)
tree833f60d72c225ed6bfa8be47e76473ab456ea0ab
parent40b3035803504f3afd8be66a7eb54d25a9ebc713 (diff)
downloadmcwm-e5509ae6814092303af973e27c2bf7d87969d15f.zip
Remove hidden and its man page when deinstalling.
uninstall alias for deinstall.
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 6b12876..9d2f8c8 100644
--- a/Makefile
+++ b/Makefile
@@ -32,9 +32,12 @@ install: $(TARGETS)
install -m 755 hidden $(PREFIX)/bin
install -m 644 hidden.man $(PREFIX)/man/man1/hidden.1
+uninstall: deinstall
deinstall:
$(RM) $(PREFIX)/bin/mcwm
$(RM) $(PREFIX)/man/man1/mcwm.1
+ $(RM) $(PREFIX)/bin/hidden
+ $(RM) $(PREFIX)/man/man1/hidden.1
$(DIST).tar.bz2:
mkdir $(DIST)